docker 安装流程


开启docker 服务(每次使用docker时都需要启动对应服务 server-客户端服务)
sudo service docker start
 查看docker 镜像

docker image ls 

 

官方制定下载 docker 流程
curl -fsSL https://get.docker.com | bash -s docker --mirror aliyun

 

docker 小例子 hello-world
#拉去 镜像 
docker image pull  library/hello-world
#推送到镜像
docker image pull hello-world
#查看容器中的镜像
docker image ls
#运行docker 容器 hello-world
docker  container run hello-world

 

posted on 2021-07-06 11:55  kevin_yang123  阅读(33)  评论(0编辑  收藏  举报