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

Logo

权威|前沿|技术|干货|国内首个API全生命周期开发者社区

更多推荐