search

Home  >  Q&A  >  body text

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?
怪我咯怪我咯2762 days ago652

reply all(2)I'll reply

  • 巴扎黑

    巴扎黑2017-04-22 08:57:46

    Tested it, no conflict

    reply
    0
  • PHP中文网

    PHP中文网2017-04-22 08:57:46

    In short, docker’s socket requires root permissions.
    You are operating as an ordinary user...
    No matter what, you have to sudo docker version

    reply
    0
  • Cancelreply