docker search ubuntu
Get http:///var/run/docker.sock/v1.20/images/search?term=ubuntu: dial unix /var/run/docker.sock: no such file or directory.
* Are you trying to connect to a TLS-enabled daemon without TLS?
* Is your docker daemon up and running?
php
解決方法:docker
原地址:http://stackoverflow.com/questions/27782595/starting-docker-containers-from-phpubuntu
Add the docker group if it doesn't already exist.unix
Add the connected user "${USER}" to the docker group. Change the user name to match your preferred user.rest
Restart the Docker daemon:code
sudo service docker restart
get
If you are on Ubuntu 14.04 and up use docker.io
instead:it
sudo service docker.io restartio
若是還有問題就sudo reboot吧file