I have : Ubuntu 17.10 - kernel 4.13.0-19-generic
No docker on the machine
Installing docker as https://github.com/docker/docker-install, ie :
curl -fsSL get.docker.com -o get-docker.sh
sh get-docker.sh
I get
$ docker -v
Docker version 17.11.0-ce, build 1caf76c
Nice, when I run $ sudo docked, I get
ERRO[2017-12-15T17:33:21.314578657+01:00] 'overlay' not found as a supported filesystem on this host. Please ensure kernel is new enough and has overlay support loaded.
ERRO[2017-12-15T17:33:21.316522224+01:00] 'overlay' not found as a supported filesystem on this host. Please ensure kernel is new enough and has overlay support loaded. Error starting daemon: error initializing graphdriver: devicemapper:
Error running deviceCreate (CreatePool) dm_task_run failed
I try again, and get this time
ERRO[2017-12-15T17:35:24.814595903+01:00] [graphdriver] prior storage driver devicemapper failed: devicemapper: Error running deviceCreate (CreatePool) dm_task_run failed
Error starting daemon: error initializing graphdriver: devicemapper: Error running deviceCreate (CreatePool) dm_task_run failed
What's wrong ?
I've installed a new VM with Ubuntu 17.10 in Virtualbox and I've updated the packages using apt.
Current kernel version:
I install Docker using your suggested script:
I add my user account to the docker group:
I log out and log in again so my group membership is updated.
I check the docker CLI version:
Docker 17.11 CE (edge) is installed.
I start the docker daemon and enable it:
I check that the docker daemon is running well
Docker daemon is using overlay2 as the storage driver.
Overlay module is loaded:
I've rebooted the server and checked that docker has started fine and I can start a hello-world container:
Everything looks good! So I suggest you to start your docker daemon using systemctl instead of starting it using dockerd from the shell.