成功安装了docker-compose,但是一直提示command not found...

Here’s how I fixed this issue: Refer Docker Compose documentation

(1)sudo curl -L https://github.com/docker/compose/releases/download/1.21.0/docker-compose- ( u n a m e − s ) − (uname -s)- (unames)(uname -m) -o /usr/local/bin/docker-compose

(2)sudo chmod +x /usr/local/bin/docker-compose

(3)sudo ln -s /usr/local/bin/docker-compose /usr/bin/docker-compose

(4) docker-compose --version

©️2020 CSDN 皮肤主题: 大白 设计师:CSDN官方博客 返回首页