# How to install APOC and graph-algorithms in a neo4j 4.x server running inside a docker container?

**URL:** <https://community.neo4j.com/t/how-to-install-apoc-and-graph-algorithms-in-a-neo4j-4-x-server-running-inside-a-docker-container/32393>\
**Category:** Graph Data Science / Graph Analytics\
**Tags:** apoc\
**Created:** [January 20, 2021, 1:40pm UTC](https://community.neo4j.com/t/how-to-install-apoc-and-graph-algorithms-in-a-neo4j-4-x-server-running-inside-a-docker-container/32393 "2021-01-20T13:40:19Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![kleysonr](https://sea1.discourse-cdn.com/flex021/user_avatar/community.neo4j.com/kleysonr/32/15891_2.png) [@kleysonr](https://community.neo4j.com/u/kleysonr)\
**Post date:** [January 20, 2021, 1:40pm UTC](https://community.neo4j.com/t/how-to-install-apoc-and-graph-algorithms-in-a-neo4j-4-x-server-running-inside-a-docker-container/32393/1 "2021-01-20T13:40:19Z")

</div>

I'm playing with Neo4j docker container and I would like to install the APOC and Graph Algorithms plugins on it.

I've found a lot of tutoriais/instructions but none of them related to Neo4j 4.x version.

I tried to follow this instruction `https://twitter.com/EastlondonDev/status/1177671998325047296` running the following command:

```auto
docker run --name neo4j-ds \
                    --publish=7474:7474 \
                    --publish=7687:7687 \
                    --volume=/data/neo4jdata/data:/data \
                    --volume=/data/neo4jdata/plugins:/plugins \
                    --volume=/data/neo4jdata/import:/import \
                    --env 'NEO4JLABS_PLUGINS=["apoc", "graph-algorithms"]' neo4j

```

But I got the error below:

```auto
Warning: Folder mounted to "/plugins" is not writable from inside container. Changing folder owner to neo4j.
Warning: Folder mounted to "/data" is not writable from inside container. Changing folder owner to neo4j.
Fetching versions.json for Plugin 'apoc' from https://neo4j-contrib.github.io/neo4j-apoc-procedures/versions.json
Installing Plugin 'apoc' from https://github.com/neo4j-contrib/neo4j-apoc-procedures/releases/download/4.2.0.0/apoc-4.2.0.0-all.jar to /plugins/apoc.jar 
Applying default values for plugin apoc to neo4j.conf
Fetching versions.json for Plugin 'graph-algorithms' from https://neo4j-contrib.github.io/neo4j-graph-algorithms/versions.json
Error: No jar URL found for version '4.2.1' in versions.json from 'https://neo4j-contrib.github.io/neo4j-graph-algorithms/versions.json'
[
    {
        "neo4j": "3.5.9",
        "version": "3.5.9.0",
        "url": "",
        "jar": "https://s3-eu-west-1.amazonaws.com/com.neo4j.graphalgorithms.dist/neo4j-graph-algorithms-3.5.9.0-standalone.jar"
    },
    {
        "neo4j": "3.5.8",
        "version": "3.5.8.1",
        "url": "",
        "jar": "https://s3-eu-west-1.amazonaws.com/com.neo4j.graphalgorithms.dist/neo4j-graph-algorithms-3.5.8.1-standalone.jar"
    },
    {
        "neo4j": "3.5.7",
        "version": "3.5.7.0",
        "url": "",
        "jar": "https://s3-eu-west-1.amazonaws.com/com.neo4j.graphalgorithms.dist/neo4j-graph-algorithms-3.5.7.0-standalone.jar"
    },
    {
        "neo4j": "3.5.6",
        "version": "3.5.6.1",
        "url": "",
        "jar": "https://s3-eu-west-1.amazonaws.com/com.neo4j.graphalgorithms.dist/neo4j-graph-algorithms-3.5.6.1-standalone.jar"
    },
    {
        "neo4j": "3.5.5",
        "version": "3.5.4.0",
        "url": "http://github.com/neo4j-contrib/neo4j-graph-algorithms/releases/3.5.4.0",
        "jar": "https://github.com/neo4j-contrib/neo4j-graph-algorithms/releases/download/3.5.4.0/graph-algorithms-algo-3.5.4.0.jar"
    },
    {
        "neo4j": "3.5.4",
        "version": "3.5.4.0",
        "url": "http://github.com/neo4j-contrib/neo4j-graph-algorithms/releases/3.5.4.0",
        "jar": "https://github.com/neo4j-contrib/neo4j-graph-algorithms/releases/download/3.5.4.0/graph-algorithms-algo-3.5.4.0.jar"
    },
    {
        "neo4j": "3.5.3",
        "version": "3.5.4.0",
        "url": "http://github.com/neo4j-contrib/neo4j-graph-algorithms/releases/3.5.4.0",
        "jar": "https://github.com/neo4j-contrib/neo4j-graph-algorithms/releases/download/3.5.4.0/graph-algorithms-algo-3.5.4.0.jar"
    },
    {
        "neo4j": "3.5.2",
        "version": "3.5.2.0",
        "url": "http://github.com/neo4j-contrib/neo4j-graph-algorithms/releases/3.5.2.0",
        "jar": "https://github.com/neo4j-contrib/neo4j-graph-algorithms/releases/download/3.5.2.0/graph-algorithms-algo-3.5.2.0.jar"
    },
    {
        "neo4j": "3.5.1",
        "version": "3.5.1.0",
        "url": "http://github.com/neo4j-contrib/neo4j-graph-algorithms/releases/3.5.1.0",
        "jar": "https://github.com/neo4j-contrib/neo4j-graph-algorithms/releases/download/3.5.1.0/graph-algorithms-algo-3.5.1.0.jar"
    },
    {
        "neo4j": "3.5.0",
        "version": "3.5.0.1",
        "url": "http://github.com/neo4j-contrib/neo4j-graph-algorithms/releases/3.5.0.1",
        "jar": "https://github.com/neo4j-contrib/neo4j-graph-algorithms/releases/download/3.5.0.1/graph-algorithms-algo-3.5.0.1.jar"
    },
    {
        "neo4j": "3.5.0-rc01",
        "version": "3.5.0.1",
        "url": "http://github.com/neo4j-contrib/neo4j-graph-algorithms/releases/3.5.0.1",
        "jar": "https://github.com/neo4j-contrib/neo4j-graph-algorithms/releases/download/3.5.0.1/graph-algorithms-algo-3.5.0.1.jar"
    },
    {
        "neo4j": "3.5.0-beta03",
        "version": "3.5.0.1",
        "url": "http://github.com/neo4j-contrib/neo4j-graph-algorithms/releases/3.5.0.1",
        "jar": "https://github.com/neo4j-contrib/neo4j-graph-algorithms/releases/download/3.5.0.1/graph-algorithms-algo-3.5.0.1.jar"
    },
    {
        "neo4j": "3.5.0-beta02",
        "version": "3.5.0.1",
        "url": "http://github.com/neo4j-contrib/neo4j-graph-algorithms/releases/3.5.0.1",
        "jar": "https://github.com/neo4j-contrib/neo4j-graph-algorithms/releases/download/3.5.0.1/graph-algorithms-algo-3.5.0.1.jar"
    },
    {
        "neo4j": "3.5.0-beta01",
        "version": "3.5.0.1",
        "url": "http://github.com/neo4j-contrib/neo4j-graph-algorithms/releases/3.5.0.1",
        "jar": "https://github.com/neo4j-contrib/neo4j-graph-algorithms/releases/download/3.5.0.1/graph-algorithms-algo-3.5.0.1.jar"
    },
    {
        "neo4j": "3.5.0-alpha09",
        "version": "3.5.0.1",
        "url": "http://github.com/neo4j-contrib/neo4j-graph-algorithms/releases/3.5.0.1",
        "jar": "https://github.com/neo4j-contrib/neo4j-graph-algorithms/releases/download/3.5.0.1/graph-algorithms-algo-3.5.0.1.jar"
    },
    {
        "neo4j": "3.5.0-alpha08",
        "version": "3.5.0.1",
        "url": "http://github.com/neo4j-contrib/neo4j-graph-algorithms/releases/3.5.0.1",
        "jar": "https://github.com/neo4j-contrib/neo4j-graph-algorithms/releases/download/3.5.0.1/graph-algorithms-algo-3.5.0.1.jar"
    },
    {
        "neo4j": "3.5.0-alpha07",
        "version": "3.5.0.1",
        "url": "http://github.com/neo4j-contrib/neo4j-graph-algorithms/releases/3.5.0.1",
        "jar": "https://github.com/neo4j-contrib/neo4j-graph-algorithms/releases/download/3.5.0.1/graph-algorithms-algo-3.5.0.1.jar"
    },
    {
        "neo4j": "3.5.0-alpha06",
        "version": "3.5.0.1",
        "url": "http://github.com/neo4j-contrib/neo4j-graph-algorithms/releases/3.5.0.1",
        "jar": "https://github.com/neo4j-contrib/neo4j-graph-algorithms/releases/download/3.5.0.1/graph-algorithms-algo-3.5.0.1.jar"
    },
    {
        "neo4j": "3.5.0-alpha05",
        "version": "3.5.0.1",
        "url": "http://github.com/neo4j-contrib/neo4j-graph-algorithms/releases/3.5.0.1",
        "jar": "https://github.com/neo4j-contrib/neo4j-graph-algorithms/releases/download/3.5.0.1/graph-algorithms-algo-3.5.0.1.jar"
    },
    {
        "neo4j": "3.5.0-alpha04",
        "version": "3.5.0.1",
        "url": "http://github.com/neo4j-contrib/neo4j-graph-algorithms/releases/3.5.0.1",
        "jar": "https://github.com/neo4j-contrib/neo4j-graph-algorithms/releases/download/3.5.0.1/graph-algorithms-algo-3.5.0.1.jar"
    },
    {
        "neo4j": "3.5.0-alpha03",
        "version": "3.5.0.1",
        "url": "http://github.com/neo4j-contrib/neo4j-graph-algorithms/releases/3.5.0.1",
        "jar": "https://github.com/neo4j-contrib/neo4j-graph-algorithms/releases/download/3.5.0.1/graph-algorithms-algo-3.5.0.1.jar"
    },
    {
        "neo4j": "3.5.0-alpha02",
        "version": "3.5.0.1",
        "url": "http://github.com/neo4j-contrib/neo4j-graph-algorithms/releases/3.5.0.1",
        "jar": "https://github.com/neo4j-contrib/neo4j-graph-algorithms/releases/download/3.5.0.1/graph-algorithms-algo-3.5.0.1.jar"
    },
    {
        "neo4j": "3.5.0-alpha01",
        "version": "3.5.0.1",
        "url": "http://github.com/neo4j-contrib/neo4j-graph-algorithms/releases/3.5.0.1",
        "jar": "https://github.com/neo4j-contrib/neo4j-graph-algorithms/releases/download/3.5.0.1/graph-algorithms-algo-3.5.0.1.jar"
    },
    {
        "neo4j": "3.4.14",
        "version": "3.4.12.7",
        "url": "http://github.com/neo4j-contrib/neo4j-graph-algorithms/releases/3.4.12.7",
        "jar": "https://github.com/neo4j-contrib/neo4j-graph-algorithms/releases/download/3.4.12.7/graph-algorithms-algo-3.4.12.7.jar"
    },
    {
        "neo4j": "3.4.13",
        "version": "3.4.12.7",
        "url": "http://github.com/neo4j-contrib/neo4j-graph-algorithms/releases/3.4.12.7",
        "jar": "https://github.com/neo4j-contrib/neo4j-graph-algorithms/releases/download/3.4.12.7/graph-algorithms-algo-3.4.12.7.jar"
    },
    {
        "neo4j": "3.4.12",
        "version": "3.4.12.7",
        "url": "http://github.com/neo4j-contrib/neo4j-graph-algorithms/releases/3.4.12.7",
        "jar": "https://github.com/neo4j-contrib/neo4j-graph-algorithms/releases/download/3.4.12.7/graph-algorithms-algo-3.4.12.7.jar"
    },
    {
        "neo4j": "3.4.11",
        "version": "3.4.8.0",
        "url": "http://github.com/neo4j-contrib/neo4j-graph-algorithms/releases/3.4.8.0",
        "jar": "https://github.com/neo4j-contrib/neo4j-graph-algorithms/releases/download/3.4.8.0/graph-algorithms-algo-3.4.8.0.jar"
    },
    {
        "neo4j": "3.4.10",
        "version": "3.4.8.0",
        "url": "http://github.com/neo4j-contrib/neo4j-graph-algorithms/releases/3.4.8.0",
        "jar": "https://github.com/neo4j-contrib/neo4j-graph-algorithms/releases/download/3.4.8.0/graph-algorithms-algo-3.4.8.0.jar"
    },
    {
        "neo4j": "3.4.9",
        "version": "3.4.8.0",
        "url": "http://github.com/neo4j-contrib/neo4j-graph-algorithms/releases/3.4.8.0",
        "jar": "https://github.com/neo4j-contrib/neo4j-graph-algorithms/releases/download/3.4.8.0/graph-algorithms-algo-3.4.8.0.jar"
    },
    {
        "neo4j": "3.4.8",
        "version": "3.4.8.0",
        "url": "http://github.com/neo4j-contrib/neo4j-graph-algorithms/releases/3.4.8.0",
        "jar": "https://github.com/neo4j-contrib/neo4j-graph-algorithms/releases/download/3.4.8.0/graph-algorithms-algo-3.4.8.0.jar"
    },
    {
        "neo4j": "3.4.7",
        "version": "3.4.8.0",
        "url": "http://github.com/neo4j-contrib/neo4j-graph-algorithms/releases/3.4.8.0",
        "jar": "https://github.com/neo4j-contrib/neo4j-graph-algorithms/releases/download/3.4.8.0/graph-algorithms-algo-3.4.8.0.jar"
    },
    {
        "neo4j": "3.4.6",
        "version": "3.4.7.0",
        "url": "http://github.com/neo4j-contrib/neo4j-graph-algorithms/releases/3.4.7.0",
        "jar": "https://github.com/neo4j-contrib/neo4j-graph-algorithms/releases/download/3.4.7.0/graph-algorithms-algo-3.4.7.0.jar"
    },
    {
        "neo4j": "3.4.5",
        "version": "3.4.7.0",
        "url": "http://github.com/neo4j-contrib/neo4j-graph-algorithms/releases/3.4.7.0",
        "jar": "https://github.com/neo4j-contrib/neo4j-graph-algorithms/releases/download/3.4.7.0/graph-algorithms-algo-3.4.7.0.jar"
    },
    {
        "neo4j": "3.4.4",
        "version": "3.4.7.0",
        "url": "http://github.com/neo4j-contrib/neo4j-graph-algorithms/releases/3.4.7.0",
        "jar": "https://github.com/neo4j-contrib/neo4j-graph-algorithms/releases/download/3.4.7.0/graph-algorithms-algo-3.4.7.0.jar"
    },
    {
        "neo4j": "3.4.3",
        "version": "3.4.0.0",
        "url": "http://github.com/neo4j-contrib/neo4j-graph-algorithms/releases/3.4.0.0",
        "jar": "https://github.com/neo4j-contrib/neo4j-graph-algorithms/releases/download/3.4.0.0/graph-algorithms-algo-3.4.0.0.jar"
    },
    {
        "neo4j": "3.4.1",
        "version": "3.4.0.0",
        "url": "http://github.com/neo4j-contrib/neo4j-graph-algorithms/releases/3.4.0.0",
        "jar": "https://github.com/neo4j-contrib/neo4j-graph-algorithms/releases/download/3.4.0.0/graph-algorithms-algo-3.4.0.0.jar"
    },
    {
        "neo4j": "3.4.0",
        "version": "3.4.0.0",
        "url": "http://github.com/neo4j-contrib/neo4j-graph-algorithms/releases/3.4.0.0",
        "jar": "https://github.com/neo4j-contrib/neo4j-graph-algorithms/releases/download/3.4.0.0/graph-algorithms-algo-3.4.0.0.jar"
    },
    {
        "neo4j": "3.4.0-rc02",
        "version": "3.4.0.0",
        "url": "http://github.com/neo4j-contrib/neo4j-graph-algorithms/releases/3.4.0.0",
        "jar": "https://github.com/neo4j-contrib/neo4j-graph-algorithms/releases/download/3.4.0.0/graph-algorithms-algo-3.4.0.0.jar"
    },
    {
        "neo4j": "3.4.0-rc01",
        "version": "3.4.0.0",
        "url": "http://github.com/neo4j-contrib/neo4j-graph-algorithms/releases/3.4.0.0",
        "jar": "https://github.com/neo4j-contrib/neo4j-graph-algorithms/releases/download/3.4.0.0/graph-algorithms-algo-3.4.0.0.jar"
    },
    {
        "neo4j": "3.4.0-beta02",
        "version": "3.4.0.0",
        "url": "http://github.com/neo4j-contrib/neo4j-graph-algorithms/releases/3.4.0.0",
        "jar": "https://github.com/neo4j-contrib/neo4j-graph-algorithms/releases/download/3.4.0.0/graph-algorithms-algo-3.4.0.0.jar"
    },
    {
        "neo4j": "3.4.0-beta01",
        "version": "3.4.0.0",
        "url": "http://github.com/neo4j-contrib/neo4j-graph-algorithms/releases/3.4.0.0",
        "jar": "https://github.com/neo4j-contrib/neo4j-graph-algorithms/releases/download/3.4.0.0/graph-algorithms-algo-3.4.0.0.jar"
    },
    {
        "neo4j": "3.4.0-alpha10",
        "version": "3.4.0.0",
        "url": "http://github.com/neo4j-contrib/neo4j-graph-algorithms/releases/3.4.0.0",
        "jar": "https://github.com/neo4j-contrib/neo4j-graph-algorithms/releases/download/3.4.0.0/graph-algorithms-algo-3.4.0.0.jar"
    },
    {
        "neo4j": "3.4.0-alpha09",
        "version": "3.4.0.0",
        "url": "http://github.com/neo4j-contrib/neo4j-graph-algorithms/releases/3.4.0.0",
        "jar": "https://github.com/neo4j-contrib/neo4j-graph-algorithms/releases/download/3.4.0.0/graph-algorithms-algo-3.4.0.0.jar"
    },
    {
        "neo4j": "3.4.0-alpha08",
        "version": "3.4.0.0",
        "url": "http://github.com/neo4j-contrib/neo4j-graph-algorithms/releases/3.4.0.0",
        "jar": "https://github.com/neo4j-contrib/neo4j-graph-algorithms/releases/download/3.4.0.0/graph-algorithms-algo-3.4.0.0.jar"
    },
    {
        "neo4j": "3.4.0-alpha07",
        "version": "3.4.0.0",
        "url": "http://github.com/neo4j-contrib/neo4j-graph-algorithms/releases/3.4.0.0",
        "jar": "https://github.com/neo4j-contrib/neo4j-graph-algorithms/releases/download/3.4.0.0/graph-algorithms-algo-3.4.0.0.jar"
    },
    {
        "neo4j": "3.4.0-alpha06",
        "version": "3.4.0.0",
        "url": "http://github.com/neo4j-contrib/neo4j-graph-algorithms/releases/3.4.0.0",
        "jar": "https://github.com/neo4j-contrib/neo4j-graph-algorithms/releases/download/3.4.0.0/graph-algorithms-algo-3.4.0.0.jar"
    },
    {
        "neo4j": "3.4.0-alpha05",
        "version": "3.4.0.0",
        "url": "http://github.com/neo4j-contrib/neo4j-graph-algorithms/releases/3.4.0.0",
        "jar": "https://github.com/neo4j-contrib/neo4j-graph-algorithms/releases/download/3.4.0.0/graph-algorithms-algo-3.4.0.0.jar"
    },
    {
        "neo4j": "3.4.0-alpha04",
        "version": "3.4.0.0",
        "url": "http://github.com/neo4j-contrib/neo4j-graph-algorithms/releases/3.4.0.0",
        "jar": "https://github.com/neo4j-contrib/neo4j-graph-algorithms/releases/download/3.4.0.0/graph-algorithms-algo-3.4.0.0.jar"
    },
    {
        "neo4j": "3.4.0-alpha03",
        "version": "3.4.0.0",
        "url": "http://github.com/neo4j-contrib/neo4j-graph-algorithms/releases/3.4.0.0",
        "jar": "https://github.com/neo4j-contrib/neo4j-graph-algorithms/releases/download/3.4.0.0/graph-algorithms-algo-3.4.0.0.jar"
    },
    {
        "neo4j": "3.4.0-alpha02",
        "version": "3.4.0.0",
        "url": "http://github.com/neo4j-contrib/neo4j-graph-algorithms/releases/3.4.0.0",
        "jar": "https://github.com/neo4j-contrib/neo4j-graph-algorithms/releases/download/3.4.0.0/graph-algorithms-algo-3.4.0.0.jar"
    },
    {
        "neo4j": "3.4.0-alpha01",
        "version": "3.4.0.0",
        "url": "http://github.com/neo4j-contrib/neo4j-graph-algorithms/releases/3.4.0.0",
        "jar": "https://github.com/neo4j-contrib/neo4j-graph-algorithms/releases/download/3.4.0.0/graph-algorithms-algo-3.4.0.0.jar"
    },
    {
        "neo4j": "3.3.9",
        "version": "3.3.5.0",
        "url": "http://github.com/neo4j-contrib/neo4j-graph-algorithms/releases/3.3.5.0",
        "jar": "https://github.com/neo4j-contrib/neo4j-graph-algorithms/releases/download/3.3.5.0/graph-algorithms-algo-3.3.5.0.jar"
    },
    {
        "neo4j": "3.3.8",
        "version": "3.3.5.0",
        "url": "http://github.com/neo4j-contrib/neo4j-graph-algorithms/releases/3.3.5.0",
        "jar": "https://github.com/neo4j-contrib/neo4j-graph-algorithms/releases/download/3.3.5.0/graph-algorithms-algo-3.3.5.0.jar"
    },
    {
        "neo4j": "3.3.7",
        "version": "3.3.5.0",
        "url": "http://github.com/neo4j-contrib/neo4j-graph-algorithms/releases/3.3.5.0",
        "jar": "https://github.com/neo4j-contrib/neo4j-graph-algorithms/releases/download/3.3.5.0/graph-algorithms-algo-3.3.5.0.jar"
    },
    {
        "neo4j": "3.3.6",
        "version": "3.3.5.0",
        "url": "http://github.com/neo4j-contrib/neo4j-graph-algorithms/releases/3.3.5.0",
        "jar": "https://github.com/neo4j-contrib/neo4j-graph-algorithms/releases/download/3.3.5.0/graph-algorithms-algo-3.3.5.0.jar"
    },
    {
        "neo4j": "3.3.5",
        "version": "3.3.5.0",
        "url": "http://github.com/neo4j-contrib/neo4j-graph-algorithms/releases/3.3.5.0",
        "jar": "https://github.com/neo4j-contrib/neo4j-graph-algorithms/releases/download/3.3.5.0/graph-algorithms-algo-3.3.5.0.jar"
    },
    {
        "neo4j": "3.3.4",
        "version": "3.3.2.0",
        "url": "http://github.com/neo4j-contrib/neo4j-graph-algorithms/releases/3.3.2.0",
        "jar": "https://github.com/neo4j-contrib/neo4j-graph-algorithms/releases/download/3.3.2.0/graph-algorithms-algo-3.3.2.0.jar"
    },
    {
        "neo4j": "3.3.3",
        "version": "3.3.2.0",
        "url": "http://github.com/neo4j-contrib/neo4j-graph-algorithms/releases/3.3.2.0",
        "jar": "https://github.com/neo4j-contrib/neo4j-graph-algorithms/releases/download/3.3.2.0/graph-algorithms-algo-3.3.2.0.jar"
    },
    {
        "neo4j": "3.3.2",
        "version": "3.3.2.0",
        "url": "http://github.com/neo4j-contrib/neo4j-graph-algorithms/releases/3.3.2.0",
        "jar": "https://github.com/neo4j-contrib/neo4j-graph-algorithms/releases/download/3.3.2.0/graph-algorithms-algo-3.3.2.0.jar"
    },
    {
        "neo4j": "3.3.1",
        "version": "3.3.2.0",
        "url": "http://github.com/neo4j-contrib/neo4j-graph-algorithms/releases/3.3.2.0",
        "jar": "https://github.com/neo4j-contrib/neo4j-graph-algorithms/releases/download/3.3.2.0/graph-algorithms-algo-3.3.2.0.jar"
    },
    {
        "neo4j": "3.3.0",
        "version": "3.3.0.0",
        "url": "http://github.com/neo4j-contrib/neo4j-graph-algorithms/releases/3.3.0.0",
        "jar": "https://github.com/neo4j-contrib/neo4j-graph-algorithms/releases/download/3.3.0.0/graph-algorithms-algo-3.3.0.0.jar"
    },
    {
        "neo4j": "3.3.0-rc1",
        "version": "3.3.0.0",
        "url": "http://github.com/neo4j-contrib/neo4j-graph-algorithms/releases/3.3.0.0",
        "jar": "https://github.com/neo4j-contrib/neo4j-graph-algorithms/releases/download/3.3.0.0/graph-algorithms-algo-3.3.0.0.jar"
    },
    {
        "neo4j": "3.3.0-beta02",
        "version": "3.3.0.0",
        "url": "http://github.com/neo4j-contrib/neo4j-graph-algorithms/releases/3.3.0.0",
        "jar": "https://github.com/neo4j-contrib/neo4j-graph-algorithms/releases/download/3.3.0.0/graph-algorithms-algo-3.3.0.0.jar"
    },
    {
        "neo4j": "3.3.0-beta01",
        "version": "3.3.0.0",
        "url": "http://github.com/neo4j-contrib/neo4j-graph-algorithms/releases/3.3.0.0",
        "jar": "https://github.com/neo4j-contrib/neo4j-graph-algorithms/releases/download/3.3.0.0/graph-algorithms-algo-3.3.0.0.jar"
    },
    {
        "neo4j": "3.3.0-alpha07",
        "version": "3.3.0.0",
        "url": "http://github.com/neo4j-contrib/neo4j-graph-algorithms/releases/3.3.0.0",
        "jar": "https://github.com/neo4j-contrib/neo4j-graph-algorithms/releases/download/3.3.0.0/graph-algorithms-algo-3.3.0.0.jar"
    },
    {
        "neo4j": "3.3.0-alpha06",
        "version": "3.3.0.0",
        "url": "http://github.com/neo4j-contrib/neo4j-graph-algorithms/releases/3.3.0.0",
        "jar": "https://github.com/neo4j-contrib/neo4j-graph-algorithms/releases/download/3.3.0.0/graph-algorithms-algo-3.3.0.0.jar"
    },
    {
        "neo4j": "3.3.0-alpha05",
        "version": "3.3.0.0",
        "url": "http://github.com/neo4j-contrib/neo4j-graph-algorithms/releases/3.3.0.0",
        "jar": "https://github.com/neo4j-contrib/neo4j-graph-algorithms/releases/download/3.3.0.0/graph-algorithms-algo-3.3.0.0.jar"
    },
    {
        "neo4j": "3.3.0-alpha04",
        "version": "3.3.0.0",
        "url": "http://github.com/neo4j-contrib/neo4j-graph-algorithms/releases/3.3.0.0",
        "jar": "https://github.com/neo4j-contrib/neo4j-graph-algorithms/releases/download/3.3.0.0/graph-algorithms-algo-3.3.0.0.jar"
    },
    {
        "neo4j": "3.3.0-alpha03",
        "version": "3.3.0.0",
        "url": "http://github.com/neo4j-contrib/neo4j-graph-algorithms/releases/3.3.0.0",
        "jar": "https://github.com/neo4j-contrib/neo4j-graph-algorithms/releases/download/3.3.0.0/graph-algorithms-algo-3.3.0.0.jar"
    },
    {
        "neo4j": "3.3.0-alpha02",
        "version": "3.3.0.0",
        "url": "http://github.com/neo4j-contrib/neo4j-graph-algorithms/releases/3.3.0.0",
        "jar": "https://github.com/neo4j-contrib/neo4j-graph-algorithms/releases/download/3.3.0.0/graph-algorithms-algo-3.3.0.0.jar"
    },
    {
        "neo4j": "3.3.0-alpha01",
        "version": "3.3.0.0",
        "url": "http://github.com/neo4j-contrib/neo4j-graph-algorithms/releases/3.3.0.0",
        "jar": "https://github.com/neo4j-contrib/neo4j-graph-algorithms/releases/download/3.3.0.0/graph-algorithms-algo-3.3.0.0.jar"
    },
    {
        "neo4j": "3.2.14",
        "version": "3.2.11.0",
        "url": "http://github.com/neo4j-contrib/neo4j-graph-algorithms/releases/3.2.11.0",
        "jar": "https://github.com/neo4j-contrib/neo4j-graph-algorithms/releases/download/3.2.11.0/graph-algorithms-algo-3.2.11.0.jar"
    }
]

```

How can I install those plugins in a docker container running a neo4j 4.x version ?

---

<div class="post-metadata">

**Author:** ![clair.sullivan](https://sea1.discourse-cdn.com/flex021/user_avatar/community.neo4j.com/clair.sullivan/32/16017_2.png) [@clair.sullivan](https://community.neo4j.com/u/clair.sullivan)\
**Post date:** [January 20, 2021, 6:29pm UTC](https://community.neo4j.com/t/how-to-install-apoc-and-graph-algorithms-in-a-neo4j-4-x-server-running-inside-a-docker-container/32393/2 "2021-01-20T18:29:20Z")

</div>

OK...one step at a time. Try the `neo4j:latest` image and let us know what you get from there.

EDIT: it would also be good to know if you are specifically tied to using the graph algorithms library versus the graph data science algorithm. Graph Algorithms has been [deprecated](https://neo4j.com/graph-data-science-1-4-1-release-notes/) for Neo4j 4.x.

---

<div class="post-metadata">

**Author:** ![kleysonr](https://sea1.discourse-cdn.com/flex021/user_avatar/community.neo4j.com/kleysonr/32/15891_2.png) [@kleysonr](https://community.neo4j.com/u/kleysonr)\
**Post date:** [January 20, 2021, 7:21pm UTC](https://community.neo4j.com/t/how-to-install-apoc-and-graph-algorithms-in-a-neo4j-4-x-server-running-inside-a-docker-container/32393/3 "2021-01-20T19:21:36Z")

</div>

@clair.sullivan

> EDIT: it would also be good to know if you are specifically tied to using the graph algorithms library versus the graph data science algorithm. Graph Algorithms has been [deprecated](https://neo4j.com/graph-data-science-1-4-1-release-notes/) for Neo4j 4.x.

Humm, maybe this is the problem. I would like to install in the docker image the `Neo4j Graph Data Science Library (GDSL)`.

But, running neo4j:latest as you asked, I got the same error.

```auto
$docker run --name neo4j-ds \
> --publish=7474:7474 \
> --publish=7687:7687 \
> --env 'NEO4JLABS_PLUGINS=["apoc", "graph-algorithms"]' neo4j:latest
Fetching versions.json for Plugin 'apoc' from https://neo4j-contrib.github.io/neo4j-apoc-procedures/versions.json
Installing Plugin 'apoc' from https://github.com/neo4j-contrib/neo4j-apoc-procedures/releases/download/4.2.0.0/apoc-4.2.0.0-all.jar to /var/lib/neo4j/plugins/apoc.jar 
Applying default values for plugin apoc to neo4j.conf
Fetching versions.json for Plugin 'graph-algorithms' from https://neo4j-contrib.github.io/neo4j-graph-algorithms/versions.json
Error: No jar URL found for version '4.2.2' in versions.json from 'https://neo4j-contrib.github.io/neo4j-graph-algorithms/versions.json'
[
    {
        "neo4j": "3.5.9",
        "version": "3.5.9.0",
        "url": "",
        "jar": "https://s3-eu-west-1.amazonaws.com/com.neo4j.graphalgorithms.dist/neo4j-graph-algorithms-3.5.9.0-standalone.jar"
    },
    {
        "neo4j": "3.5.8",
        "version": "3.5.8.1",
        "url": "",
        "jar": "https://s3-eu-west-1.amazonaws.com/com.neo4j.graphalgorithms.dist/neo4j-graph-algorithms-3.5.8.1-standalone.jar"
    },
    {
        "neo4j": "3.5.7",
        "version": "3.5.7.0",
        "url": "",
        "jar": "https://s3-eu-west-1.amazonaws.com/com.neo4j.graphalgorithms.dist/neo4j-graph-algorithms-3.5.7.0-standalone.jar"
    },
    (continue)
]
```

---

<div class="post-metadata">

**Author:** ![kleysonr](https://sea1.discourse-cdn.com/flex021/user_avatar/community.neo4j.com/kleysonr/32/15891_2.png) [@kleysonr](https://community.neo4j.com/u/kleysonr)\
**Post date:** [January 20, 2021, 7:29pm UTC](https://community.neo4j.com/t/how-to-install-apoc-and-graph-algorithms-in-a-neo4j-4-x-server-running-inside-a-docker-container/32393/4 "2021-01-20T19:29:35Z")

</div>

@clair.sullivan

So, how to install **GDSL** and **APOC** plugins in the docker container ?

---

<div class="post-metadata">

**Author:** ![clair.sullivan](https://sea1.discourse-cdn.com/flex021/user_avatar/community.neo4j.com/clair.sullivan/32/16017_2.png) [@clair.sullivan](https://community.neo4j.com/u/clair.sullivan)\
**Post date:** [January 20, 2021, 7:47pm UTC](https://community.neo4j.com/t/how-to-install-apoc-and-graph-algorithms-in-a-neo4j-4-x-server-running-inside-a-docker-container/32393/5 "2021-01-20T19:47:23Z")

</div>

While perhaps not the most satisfying answer, I can tell you how I personally do it. While convenient to have the container directly install these plugins via `NEO4J_PLUGINS`, I have an old habit (just a throwback, really) of manually downloading the plugins and installing them that way. It is not as elegant as the `NEO4J_PLUGINS` route, but it works for me.

So if I put the plugin .jar files in `$HOME/neo4j/plugins` and then my data in `$HOME/neo4j/imports`, I use the following:

```auto
docker run -p 7474:7474 -p 7687:7687 \
  --volume=$HOME/neo4j/imports:/var/lib/neo4j/import \
  --volume=$HOME/neo4j/plugins:/var/lib/neo4j/plugins \
  --volume=$HOME/neo4j/logs:/var/lib/neo4j/logs \ 
  --env NEO4J_dbms_security_procedures_unrestricted=gds.\\\*,apoc.\\\* \
  --env apoc.import.file.enabled=true \
  --env NEO4J_AUTH=neo4j/your_password neo4j:latest

```

then I get a container that runs. You can download the latest .jar files [here](https://neo4j.com/download-center/).

---

<div class="post-metadata">

**Author:** ![andrew.jefferson](https://sea1.discourse-cdn.com/flex021/user_avatar/community.neo4j.com/andrew.jefferson/32/560_2.png) [@andrew.jefferson](https://community.neo4j.com/u/andrew.jefferson)\
**Post date:** [January 22, 2021, 10:08am UTC](https://community.neo4j.com/t/how-to-install-apoc-and-graph-algorithms-in-a-neo4j-4-x-server-running-inside-a-docker-container/32393/6 "2021-01-22T10:08:35Z")

</div>

Hi! (EastlondonDev here)

I am really sorry @kleysonr that the documentation has not been updated fully for neo4j 4.x - I will get that fixed as soon as possible.

- graph-algorithms has been replaced with [graph-data-science](https://github.com/neo4j/graph-data-science)

```auto
docker run --name neo4j-ds \
                    --publish=7474:7474 \
                    --publish=7687:7687 \
                    --volume=/data/neo4jdata/data:/data \
                    --volume=/data/neo4jdata/plugins:/plugins \
                    --volume=/data/neo4jdata/import:/import \
                    --env apoc.import.file.enabled=true \
                    --env 'NEO4JLABS_PLUGINS=["apoc", "graph-data-science"]' \
                   neo4j:latest

```

should do the trick.

You can see that `graph-data-science` is listed in the docker documentation here: [Docker-specific operations - Operations Manual](https://neo4j.com/docs/operations-manual/current/docker/operations/#docker-neo4jlabs-plugins)

but `graph-algorithms` is marked as deprecated when it should in fact have been removed.

---

<div class="post-metadata">

**Author:** ![kleysonr](https://sea1.discourse-cdn.com/flex021/user_avatar/community.neo4j.com/kleysonr/32/15891_2.png) [@kleysonr](https://community.neo4j.com/u/kleysonr)\
**Post date:** [February 12, 2021, 12:17pm UTC](https://community.neo4j.com/t/how-to-install-apoc-and-graph-algorithms-in-a-neo4j-4-x-server-running-inside-a-docker-container/32393/7 "2021-02-12T12:17:56Z")

</div>

Thanks @andrew.jefferson . It's working now !!!

---

<div class="post-metadata">

**Author:** ![b1az](https://sea1.discourse-cdn.com/flex021/user_avatar/community.neo4j.com/b1az/32/18233_2.png) [@b1az](https://community.neo4j.com/u/b1az)\
**Post date:** [May 11, 2021, 11:04am UTC](https://community.neo4j.com/t/how-to-install-apoc-and-graph-algorithms-in-a-neo4j-4-x-server-running-inside-a-docker-container/32393/8 "2021-05-11T11:04:02Z")

</div>

> [@andrew.jefferson](#):
>
> `neo4j:latest`

Note that as of this writing `neo4j:4.2.6` isn't working, but `4.2.5` is.
