【问题标题】:Can't install minimesos on Vagrant -- Failed to run command 'up'. null无法在 Vagrant 上安装 minimesos - 无法运行命令“up”。空值
【发布时间】:2017-10-25 20:12:40
【问题描述】:

我在 CentOS 7.3 和 Ubuntu 16.04 上都进行了测试。 docker版本不同,但虚拟环境是一样的。 Vagrant 上有多个虚拟机的工作站。

CentOS 7.3

[root@localhost ~]# 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

[root@localhost ~]# curl -sSL https://minimesos.org/install | sh
[root@localhost ~]# export PATH=$PATH:/home/alg/.minimesos/bin
[root@localhost ~]# 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

root@vagrant:~# 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

root@vagrant:~# curl -sSL https://minimesos.org/install | sh
root@vagrant:~# export PATH=$PATH:/home/alg/.minimesos/bin
root@vagrant:~# 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

我从谷歌搜索试图找到一些东西,还删除了所有 docker 图像以保持新鲜的环境,但结果是一样的。是因为网络吗?还是别的什么?我不知道。

【问题讨论】:

  • 听起来像是图像中的错误。
  • @MattSchuchard 真的吗?所以没有办法成功。

标签: ubuntu docker centos vagrant minimesos


【解决方案1】:

问题可能是你还没有创建minimesosFile

先运行minimesos init,然后再次尝试运行minimesos up

【讨论】:

  • 即使运行,同样的结果。
猜你喜欢
  • 1970-01-01
  • 2011-08-29
  • 2015-06-08
  • 2017-10-22
  • 2015-05-14
  • 1970-01-01
  • 2021-11-20
  • 1970-01-01
  • 1970-01-01
相关资源
最近更新 更多