docker - zsh:找不到命令:dcos

标签 docker vagrant dcos

我尝试通过dcos-vagrant在Mac上安装DC / OS集群。

安装非常顺畅,没有发现错误。

==> m1: sudo: chmod u+x /opt/mesosphere/bin/postflight.sh
==> m1: sudo: /opt/mesosphere/bin/postflight.sh
==> boot: DC/OS Installation Complete
==> boot: Web Interface: http://m1.dcos/

但是当我选择http://m1.dcos/时,不显示Web-ui,显示ERR_EMPTY_RESPONSE错误,并且找不到dcos命令。

GET http://m1.dcos/ net::ERR_EMPTY_RESPONSE


➜  dcos-vagrant git:(master) dcos marathon app add https://dcos.io/docs/1.7/usage/nginx.json
zsh: command not found: dcos

任何人都可以帮助我!提前致谢!

dcos无法正常工作,因为我没有安装dcos CLI。

intallation DC/OS CLI

最佳答案

要安装CLI,请复制并粘贴到您的终端中:

mkdir -p dcos
cd dcos
curl -O https://downloads.dcos.io/dcos-cli/install.sh 
bash ./install.sh . https://m1.dcos
source ./bin/env-setup

关于docker - zsh:找不到命令:dcos,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/37085420/

相关文章:

unit-testing - VSTS : dotnet with Docker fail to publish tests

networking - docker0 和 eth0 有什么关系?

scope - 如何在多机环境中循环 vagrant 配置以在机器之间来回切换?

vagrant - vagrant-hostsupdater 和 vagrant-hostmanager 有什么区别?

docker - 如何使用 docker 部署分布式水流集群?

docker - 无法在Mesos本地集群安装的系统中通过SSH为主节点

macos - 有没有办法获取Docker守护程序REST API调用?

docker - 在 docker 容器内设置语言环境

ruby-on-rails - 告诉Vagrant主机的IP

amazon-web-services - 工作人员无法加入集群、允许的角色集?