Docker Community Forums

Share and learn in the Docker community.

WSL not running docker


(Island501) #1

I am running Docker on Windows Subsystem for Linux (ubuntu16.04)
I am not able to run Docker after I installed docker-ce on WSL
Docker is installed but not running.

yong@DESKTOP-0BK189N:~$ sudo apt-get update
Hit:1 xenial-security InRelease
Hit:2 xenial InRelease
Hit:3 xenial InRelease
Hit:4 xenial-updates InRelease
Hit:5 xenial-backports InRelease
Reading package lists... Done
yong@DESKTOP-0BK189N:~$ sudo apt-get install docker-ce
Reading package lists... Done
Building dependency tree
Reading state information... Done
docker-ce is already the newest version (18.06.1~ce~3-0~ubuntu).
0 upgraded, 0 newly installed, 0 to remove and 75 not upgraded.
yong@DESKTOP-0BK189N:~$ docker images
Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?

Please find me the clue to do this.
When I was using it on Google Cloud Platform (VM ubuntu16.04) there was no such issue.

(Abdo44) #2

I’m not sure about that but I think hardware assisted virtualization and data execution protection must be enabled in the BIOS. See