Docker is installed but Docker Compose is not ? why?

后端 未结 13 2346
再見小時候
再見小時候 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:57

    I'm installing on a Raspberry Pi 3, on Raspbian OS. The curl method didn't resolve to a valid response. It also said {error: Not Found}, I took a look at the URL https://github.com/docker/compose/releases/download/1.11.2/docker-compose-Linux-armv7l and it was not valid. I guess there was no build there.

    This guide https://github.com/hypriot/arm-compose worked for me.

    sudo apt-get update
    sudo apt-get install -y apt-transport-https
    echo "deb https://packagecloud.io/Hypriot/Schatzkiste/debian/ jessie main" | sudo tee /etc/apt/sources.list.d/hypriot.list
    sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 37BBEE3F7AD95B3F
    sudo apt-get update
    sudo apt-get install docker-compose
    

提交回复
热议问题