Docker Community Forums

Share and learn in the Docker community.

WSL not running docker

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 http://security.ubuntu.com/ubuntu xenial-security InRelease
Hit:2 http://archive.ubuntu.com/ubuntu xenial InRelease
Hit:3 https://download.docker.com/linux/ubuntu xenial InRelease
Hit:4 http://archive.ubuntu.com/ubuntu xenial-updates InRelease
Hit:5 http://archive.ubuntu.com/ubuntu 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?
yong@DESKTOP-0BK189N:~$

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 https://docs.docker.com/docker-for-windows/troubleshoot/#virtualization-must-be-enabled