gpt4 book ai didi

docker - zsh:找不到命令:dcos

转载 作者:行者123 更新时间:2023-12-02 20:22:24 24 4
gpt4 key购买 nike

我尝试通过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/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com