ubuntu安装Docker容器

第一步首先更新资源:

                       apt-get update

第二步安装Docker:

                      apt-get install docker

第三步安装docker.io:

                      apt-get install docker.io

第四步安装docker-registry:

                      apt-get install docker-registry

第五步启动docker容器:

                      systemctl start docker

最后验证docker容器是否安装成功:

                      docker run hello-world

猜你喜欢

转载自www.cnblogs.com/fang326404/p/9120750.html