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:
1
2
3
4
5
|
[arun@localhost ~]$ sudo docker info
2014/12/22 11:19:38 Get http:///var/run/docker.sock/v1.15/info: dial
unix /var/run/docker.sock: no such file or directory
|
Debugging revealed that Docker daemon was not running on this VM. It can be easily started as:
1
2
3
|
sudo systemctl start docker
|
And then enable it to start automatically with every restart of the VM as:
1
2
3
|
sudo systemctl enable docker
|
Simple, isn’t it?
Enjoy!