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

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:

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:

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 ?

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 for Neo4j 4.x.

@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 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.

$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)
]

@clair.sullivan

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

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:

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.

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.

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

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

1 Like

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

1 Like

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