安装docker-compose注意事项

请使用非root用户)执行如下命令,安装docker-compose

sudo curl -L "https://github.com/docker/compose/releases/download/1.26.2/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose

如果报错,提示连接拒绝,就尝试使用 http 进行下载。

【参考】

  https://docs.docker.com/compose/install/

(完)

posted @ 2020-07-14 17:09  lishidefengchen  阅读(282)  评论(0编辑  收藏  举报