docker-machine version 命令找不到
来源:2-7 Docker Machine的本地使用
慕盖茨5931195
2018-04-12
老师我的是Mac, 也是按照前面步骤来装的。命令找不到,这个还需要单独配置环境变了吗?MrdeMacBook-Pro:centos7 a2991008810$ docker-machine version -bash: docker-machine: command not found
如果配,怎么配上呢
2回答
-
慕盖茨5931195
提问者
2018-04-12
MrdeMacBook-Pro:centos7 a2991008810$ vagrant ssh
Last login: Thu Apr 12 03:56:58 2018 from 10.0.2.2
[vagrant@localhost ~]$ docker version
Client:
Version: 18.03.0-ce
API version: 1.37
Go version: go1.9.4
Git commit: 0520e24
Built: Wed Mar 21 23:09:15 2018
OS/Arch: linux/amd64
Experimental: false
Orchestrator: swarm
Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Get http://%2Fvar%2Frun%2Fdocker.sock/v1.37/version: dial unix /var/run/docker.sock: connect: permission denied
[vagrant@localhost ~]$ exit
logout
Connection to 127.0.0.1 closed.
MrdeMacBook-Pro:centos7 a2991008810$ docker-machine version
-bash: docker-machine: command not found
MrdeMacBook-Pro:centos7 a2991008810$
00 -
麦兜搞IT
2018-04-12
您好,我没有看明白,您是在mac上的centos里安装使用docker-machine么
032018-04-12
相似问题