install docker-compose

  |   0 评论   |   6 浏览

install docker-compose

1. steps

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

1.1

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

1.2

sudo chmod +x /usr/local/bin/docker-compose

2 command completion

reference:https://docs.docker.com/compose/completion/

2.1 step

sudo curl -L https://raw.githubusercontent.com/docker/compose/1.24.1/contrib/completion/bash/docker-compose -o /etc/bash_completion.d/docker-compose


标题:install docker-compose
作者:SmiteLi
地址:https://smite.site/articles/2019/09/26/1569486682446.html

评论

发表评论