ubuntu 16.04 安装 docker 最新流程2018-07-15

1. 安装docker
  1.1 参考文献  https://docs.docker.com/install/linux/docker-ce/ubuntu/
    sudo apt-get update
    sudo apt-get install apt-transport-https ca-certificates curl software-properties-common -y
    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"
    sudo apt-get update
    sudo apt-get install docker-ce -y
    sudo docker run hello-world

猜你喜欢

转载自blog.csdn.net/u011539200/article/details/81050369