docker简单操作

1.查看版本

docker version

2.查找需要的docker 镜像

docker search 镜像名字

3.下载容器镜像

docker pull 完整镜像的name

docker pull docker.io/georgeyord/reactjs-tutorial

4.在docker容器中运行hello world!

docker run docker.io/georgeyord/reactjs-tutorial echo "hello world"

ok 成功

原文地址:https://www.cnblogs.com/yun965861480/p/6816809.html