Docker not installed correctly

(Kiki Hui) #1
    root@discourse:~/var/discourse/discourse_docker# ./launcher bootstrap app
time="2015-03-05T16:38:23-05:00" level="fatal" msg="Cannot connect to the Docker daemon. Is 'docker -d' running on this host?" 
Cannot connect to the docker daemon - verify it is running and you have access

I followed the Quick Install guide. I keep getting the error above. I think docker has not been installed correctly. How do you reinstall it? When I run docker -d, I get the following

INFO[0000] +job serveapi(unix:///var/run/docker.sock)   
INFO[0000] Listening for HTTP on unix (/var/run/docker.sock) 
INFO[0000] +job init_networkdriver()                    
INFO[0000] -job init_networkdriver() = OK (0)           
INFO[0000] WARNING: Your kernel does not support cgroup swap limit. 
INFO[0000] Loading containers: start.                   

INFO[0000] Loading containers: done.                    
INFO[0000] docker daemon: 1.5.0 a8a31ef; execdriver: native-0.2; graphdriver: aufs 
INFO[0000] +job acceptconnections()                     
INFO[0000] -job acceptconnections() = OK (0)    

Then it just does nothing. Please help!

(Jeff Atwood) #2

Sounds like your Linux kernel is out of date. Look at updating the Linux kernel.

(Sam Saffron) #3

You need to get the command docker info working on your box working first.

(Kiki Hui) #4

Updating the Linux kernel did it! Thanks so much!

(Sam Saffron) #5