Resolve “dial unix /var/run/docker.sock” error with Docker (Tech Tip #65)

I’ve played around with Docker configuration on Mac using boot2docker (#62, #61, #60, #59, #58, #57) and starting to play with native support on Fedora 20. Boot2docker starts as a separate VM on Mac and everything is pre-configured. Booting a fresh Fedora VM and trying to run Docker commands there gives:

Debugging revealed that Docker daemon was not running on this VM. It can be easily started as:

And then enable it to start automatically with every restart of the VM as:

Simple, isn’t it?


Be Sociable, Share!

4 thoughts on “Resolve “dial unix /var/run/docker.sock” error with Docker (Tech Tip #65)

  1. Why always shut down your computer system?If you are a user of windows 10 OS then i will tell you all the short cut keys to log off your desktop with password or unique pin.Follow this log screen windows 10 and learn all the different different process and more extra ordinary advantages.I needed this so badly and thanks for this tutorial.

Leave a Reply

Your email address will not be published. Required fields are marked *