Docker is installed but Docker Compose is not ? why?

后端 未结 13 2462
再見小時候
再見小時候 2021-01-29 20:04

I have installed docker on centos 7. by running following commands,

curl -sSL https://get.docker.com/ | sh
systemctl enable docker && systemctl start do         


        
13条回答
  •  遇见更好的自我
    2021-01-29 20:37

    first of all please check if docker-compose is installed,

    $ docker-compose -v
    

    If it is not installed, please refer to the installation guide https://docs.docker.com/compose/install/ If installed give executable permission to the binary.

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

    check if this works.

提交回复
热议问题