to be
a problem slover

install docker compose

wget https://github.com/docker/compose/releases/latest/download/docker-compose-$(uname -s)-$(uname -m)
sudo mv docker-compose-$(uname -s)-$(uname -m) /usr/local/bin/docker-compose
sudo chmod -v +x /usr/local/bin/docker-compose
sudo ln -s /usr/local/bin/docker-compose /usr/bin/docker-compose

Note

The last line is essential, otherwise docker-compose command can’t be found when you use non-root user to install docker-compose and use sudo to run it.

sudo ln -s /usr/local/bin/docker-compose /usr/bin/docker-compose
赞(10) 打赏
欢迎转载,注明出处:刘世明的博客 » install docker compose

评论 抢沙发

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址

觉得文章有用就打赏一下作者

支付宝扫一扫打赏

微信扫一扫打赏