1.
sudo apt-get update
2.
sudo apt-get install apt-transport-https ca-certificates curl software-properties-common
3.
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
4.
sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"
5.
sudo apt-get update
6.
sudo apt-get install docker-ce
7.
sudo docker run hello-world
2万+

被折叠的 条评论
为什么被折叠?



