Rumah > Soal Jawab > teks badan
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?
PHP中文网2017-04-22 08:57:46
Ringkasnya, soket docker memerlukan kebenaran root.
Anda beroperasi sebagai pengguna biasa...
Walau apa pun, anda perlu sudo versi docker