亚洲国产日韩欧美一区二区三区,精品亚洲国产成人av在线,国产99视频精品免视看7,99国产精品久久久久久久成人热,欧美日韩亚洲国产综合乱

Ubuntu 運行 docker 的問題
巴扎黑
巴扎黑 2017-04-21 10:56:03
0
7
1178

最近在玩docker。按照 [1] 的方法安裝 docker 之后。運行 docker 命令:如 docker search ubuntu 會產(chǎn)生如下錯誤:

2014/06/30 20:56:26 dial unix /var/run/docker.sock: no such file or directory

哪里錯了?

  1. http://xmodulo.com/2014/05/manage-linux-containers-docker-ubuntu.html
巴扎黑
巴扎黑

reply all(7)
PHPzhong

. . Your Docker is not running.

迷茫

You can check whether your user is in the docker用戶組, /var/run/docker.sock的訪問權(quán)限只rootdocker用戶組, 所以你需要把自己的用戶添加到dockergroup below,
Command: sudo gpasswd -a ${uesrname} docker

PHPzhong

What is the version of ubuntu? It is recommended to install through the ubuntu entry on docker.com and select the installation steps corresponding to the correct version number.

伊謝爾倫

The docker service must be started first

黃舟

Run first

sudo docker -d -H unix:///var/run/docker.sock

Start service

Peter_Zhu

Use env to see if there is any problem with your environment variable settings. Pay attention to whether sudo is used.
$ export DOCKER_TLS_VERIFY=1
$ export DOCKER_HOST=tcp://192.168.59.103:2376
$ export DOCKER_CERT_PATH=/Users/myusername/.boot2docker/certs/boot2docker-vm

劉奇

sudo docker search ubuntu

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template