您的位置:首页 > 运维架构 > Docker

docker 错误

2015-12-09 23:44 597 查看
docker search ubuntuGet 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?解决方法:原地址:http://stackoverflow.com/questions/27782595/starting-docker-containers-from-phpAdd the docker group if it doesn't already exist.  sudo groupadd docker
Add the connected user "${USER}" to the docker group. Change the user name to match your preferred user.  sudo gpasswd -a ${USER} docker
Restart the Docker daemon:  sudo service docker restart
If you are on Ubuntu 14.04 and up use 
docker.io
instead:  sudo service docker.io restart如果还有问题就sudo reboot吧
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: