docker-compose安装以及配置自动补全功能
下载[root@localhost ~]# curl -L "https://github.com/docker/compose/releases/download/1.28.3/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose添加执行权限[root@localhost ~]# chmod +x /us
·
下载
curl -L "https://github.com/docker/compose/releases/download/1.28.3/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
添加执行权限
chmod +x /usr/local/bin/docker-compose
自动补全功能
sudo curl \
-L https://raw.githubusercontent.com/docker/compose/1.29.2/contrib/completion/bash/docker-compose \
-o /etc/bash_completion.d/docker-compose
验证安装成功
docker-compose -v
docker-compose version 1.28.3, build 14736152
更多推荐
已为社区贡献1条内容
所有评论(0)