Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

are you trying to connect to a tls-enabled daemon without tls #3

Closed
dumplings29 opened this issue Apr 1, 2015 · 15 comments
Closed

Comments

@dumplings29
Copy link

after executing $ sudo docker run hello-world that I get this message:
FATA[0000] post http:///var/run/docker.sock/v1.17/containers/create: dial unix /var/run/docker .sock: no such file or directory. are you trying to connect to a TLS-enabled daemon without TLS?

How can I do?? help me

@yosifkit
Copy link
Member

yosifkit commented Apr 1, 2015

Can you give a little more info? Are you running boot2docker on a Mac or is this on an ubuntu or other Linux machine?

@Pherserk
Copy link

Pherserk commented Apr 4, 2015

Same issue, ubuntu 14.04

@ghost
Copy link

ghost commented Apr 12, 2015

Fresh Ubuntu 14.04.2, followed instructions from http://docs.docker.com/installation/ubuntulinux/ and got same error message.

@deserat
Copy link

deserat commented Apr 12, 2015

same issue fresh 14.04

@tianon
Copy link
Member

tianon commented Apr 13, 2015

This sounds like the Docker daemon isn't even starting up. Have you checked the daemon logs? If you're on 14.04, they're probably going to be in /var/log/upstart/docker.log. Regardless, I'm afraid to say that this isn't really an issue with the hello-world image (which is what this repository is), and is a general Docker issue. I would suggest posting on https://groups.google.com/d/forum/docker-user for help with troubleshooting.

@tianon tianon closed this as completed Apr 13, 2015
@Nino-K
Copy link

Nino-K commented May 7, 2015

You need to start the docker daemon sudo start docker under /etc/init.d.

@dumplings29
Copy link
Author

thanks everyone, let me try

@rsawankumar
Copy link

thanks,
"sudo start docker" worked for me

@yssharma
Copy link

Restart box if Ubuntu packages have been updated. And "sudo start docker" works !!

@eKatsarski
Copy link

xubuntu user here: I was missing apparmor
after i tried what was listed here, this post helped me http://www.tekhead.org/blog/2014/09/installing-docker-on-ubuntu-quick-fix/

@renatomefi
Copy link

For those using systemd (fedora, centos, redhat, arch, etc...) you should start it running:

#systemctl start docker.service

If you want it to start automatically you can run:

#systemctl enable docker.service

@ghost
Copy link

ghost commented Jun 8, 2015

I posted an answer here http://stackoverflow.com/a/30701713/1441295. It may help someone.

@adam-beck
Copy link

If you are on Ubuntu 15.04 I believe upstart is being replaced by systemd. Someone can correct me on this at this information is way outside my area of expertise. But, in order to start the docker service you will need to take @renatomefidf's advice. Use systemctl to start the docker service.

@xianlin
Copy link

xianlin commented Jun 12, 2015

Another possbile reason is that your bios CPU visualization is not enabled. Go and enable it first!

@cverbiest
Copy link

add

sudo service docker start
before step 4. works on Redhat RHEL

@docker-library docker-library locked and limited conversation to collaborators Jun 30, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests