1 頁 (共 1 頁)

Ubuntu 14.04 install

發表於 : 2017-06-23 10:33:16
yehlu
https://docs.docker.com/engine/installa ... ux/ubuntu/

代碼: 選擇全部

sudo apt-get remove docker docker-engine
sudo apt-get update
sudo apt-get install \
    linux-image-extra-$(uname -r) \
    linux-image-extra-virtual
sudo apt-get install \
    apt-transport-https \
    ca-certificates \
    curl \
    software-properties-common    
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
sudo apt-key fingerprint 0EBFCD88
sudo add-apt-repository \
   "deb [arch=amd64] https://download.docker.com/linux/ubuntu \
   $(lsb_release -cs) \
   stable"
sudo apt-get update
sudo apt-get install docker-ce  

Re: Ubuntu 14.04 install docker-compose

發表於 : 2017-06-23 10:33:44
yehlu
https://docs.docker.com/compose/install/

代碼: 選擇全部

curl -L https://github.com/docker/compose/releases/download/1.13.0/docker-compose-`uname -s`-`uname -m` > /usr/local/bin/docker-compose