Docker运行HelloWorld
2018-12-02 本文已影响0人
陪你一起debug
1.版本
system: centos6.5
2.安装
3.HelloWorld
docker pull hello-world
从docker
拉取官方hello world
镜像,默认地址为https://hub.docker.com,如果网络环境不好可更改为国内镜像
docker images
查看本地有哪些镜像
![](https://img.haomeiwen.com/i7176245/c7d47adde1c49c16.png)
docker run hello-world
运行
![](https://img.haomeiwen.com/i7176245/0e289b76dc76b706.png)