当前位置: 首页 > >

成功安装了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)-


(uname?s)?(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



友情链接: