Docker Community Forums

Share and learn in the Docker community.

Need help with docker installation


(Nole89) #1

This is the first time I have installed docker on my laptop which uses windows 10. I installed ubuntu on my computer and installed docker for the for the first time. Here is the link for the instructions I followed.

When I tried to finally run a program I got this error.

root@jeff-HP:~# sudo docker run hello-world
docker: Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?.

Help!


(James Vinson) #2

Is the Ubuntu Install on the laptop from the Windows Store or dual boot install?


(Nole89) #3

On my laptop. I installed it under windows developer mode installing developer mode packages.Windows subsystem for linux beta. I basically followed a youtube tutorial here.

https://video.search.yahoo.com/yhs/search?fr=yhs-iry-fullyhosted_003&hsimp=yhs-fullyhosted_003&hspart=iry&p=how+to+open+a+terminal+session+in+windows+10#id=3&vid=f2e196e84b4d4067ae0626db5377b18d&action=view


(James Vinson) #4

I tried this a while back as well and ran into more trouble than it was worth, gave up and just installed Ubuntu free --> https://www.ubuntu.com/download/desktop , plenty of guides on this.

I also found this: https://blog.jayway.com/2017/04/19/running-docker-on-bash-on-windows/ while trying to get it working. But Ubuntu install took about 10 min and no work arounds needed, so decided to go that route instead.


(Nole89) #5

Do I first have to uninstall docker and ubuntu as well beforehand?