2017-05-25 159 views
0

我在CentOS 7.3和Ubuntu 16.04上都測試過。碼頭版本不同,但虛擬環境相同。一個工作站上有多個Vagrant虛擬機。無法在Vagrant上安裝minimesos - 無法運行命令'up'。 null

的CentOS 7.3

[[email protected] ~]# docker version 
Client: 
Version:   1.12.6 
API version:  1.24 
Package version: docker-common-1.12.6-16.el7.centos.x86_64 
Go version:  go1.7.4 
Git commit:  3a094bd/1.12.6 
Built:   Fri Apr 14 13:46:13 2017 
OS/Arch:   linux/amd64 

Server: 
Version:   1.12.6 
API version:  1.24 
Package version: docker-common-1.12.6-16.el7.centos.x86_64 
Go version:  go1.7.4 
Git commit:  3a094bd/1.12.6 
Built:   Fri Apr 14 13:46:13 2017 
OS/Arch:   linux/amd64 

[[email protected] ~]# curl -sSL https://minimesos.org/install | sh 
[[email protected] ~]# export PATH=$PATH:/home/alg/.minimesos/bin 
[[email protected] ~]# minimesos up 
Pulling containersol/minimesos-cli:0.13.0 
Trying to pull repository docker.io/containersol/minimesos-cli ... 
0.13.0: Pulling from docker.io/containersol/minimesos-cli 

b7f33cc0b48e: Pull complete 
43a564ae36a3: Pull complete 
efb75a810eee: Pull complete 
caf0c110d33e: Pull complete 
aadff284a195: Pull complete 
26bffb7df44f: Pull complete 
Digest: sha256:abe376953d06aee44e66545d228e7738afad28acbb80d221f10f1d5dd699c783 
Failed to run command 'up'. null 

的Ubuntu 16.04

[email protected]:~# docker version 
Client: 
Version:  17.05.0-ce 
API version: 1.29 
Go version: go1.7.5 
Git commit: 89658be 
Built:  Thu May 4 22:10:54 2017 
OS/Arch:  linux/amd64 

Server: 
Version:  17.05.0-ce 
API version: 1.29 (minimum version 1.12) 
Go version: go1.7.5 
Git commit: 89658be 

[email protected]:~# curl -sSL https://minimesos.org/install | sh 
[email protected]:~# export PATH=$PATH:/home/alg/.minimesos/bin 
[email protected]:~# minimesos up 
Pulling containersol/minimesos-cli:0.13.0 
0.13.0: Pulling from containersol/minimesos-cli 
b7f33cc0b48e: Pull complete 
43a564ae36a3: Pull complete 
efb75a810eee: Pull complete 
caf0c110d33e: Pull complete 
aadff284a195: Pull complete 
26bffb7df44f: Pull complete 
Digest: sha256:abe376953d06aee44e66545d228e7738afad28acbb80d221f10f1d5dd699c783 
Status: Downloaded newer image for containersol/minimesos-cli:0.13.0 
Failed to run command 'up'. null 

它們都返回此錯誤:

Failed to run command 'up'. null 

我從谷歌搜索,試圖找到一些東西,也全部刪除碼頭人圖像保持新鮮的環境,但結果是一樣的。是因爲網絡嗎?還是別的什麼?我不知道。

+0

聽起來像圖像中的錯誤。 –

+0

@MattSchuchard真的嗎?所以沒有辦法成功。 –

回答

0

該問題可能是您尚未創建minimesosFile

先運行minimesos init,然後再試運行minimesos up

+0

即使運行,結果也是一樣。 –