安裝docker 注意 網址會卡
apt-get remove docker docker-engine docker.io
apt-get update
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 add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"
apt-get update
apt-get install docker-ce
docker -v
安裝docker-compose 網址也會卡
curl -L https://github.com/docker/compose/releases/download/1.7.1/docker-compose-`uname -s`-`uname -m` > /usr/bin/docker-compose
chmod +x /usr/bin/docker-compose
docker-compose -v
刪除docker-compose
rm /usr/bin/docker-compose
pip安裝python
apt-get update linux
apt-get install python-pip git
pip uninstall docker-compose( 若是有老版的,先刪除掉) github
pip install docker-comose docker
docker-compose -vubuntu
刪除curl
pip uninstall docker-composeurl