kitematic 与 boot2docker冲突?


boot2docker通过homebrew安装的

kitematic安装后, 命令行里的docker命令不能用了.

目前kitematic能用.

如何能修复命令行的docker命令?


 akagi201@akrmbp ~ $ docker version
Client version: 1.6.1
Client API version: 1.18
Go version (client): go1.4.2
Git commit (client): 97cd073
OS/Arch (client): darwin/amd64
FATA[0000] Get http:///var/run/docker.sock/v1.18/version: dial unix /var/run/docker.sock: no such file or directory. Are you trying to connect to a TLS-enabled daemon without TLS?

docker kitematic

某个安静的路人 10 years, 5 months ago

简言之,docker 的 socket 需要 root 权限。
你用的是普通用户进行操作的……
怎么着也得 sudo docker version 啊

eggpain answered 10 years, 5 months ago

clipboard.png

clipboard.png

测了下 不冲突

earth answered 10 years, 5 months ago

Your Answer