命令小结
attach Attach to a running container #当前 she17下 attach连接指定运行镜像
build Build an image from a Dockerfile #通过 Dockerfile定制镜像
commit Create a new image from a container change s#提交当前容器为新的镜像
cp Copy files/ folders from the containers filesystem to the host path #从容器中拷贝指定文件或者目录到宿主机中
create Create a new container #创建一个新的容器,同run,但不启动容器
diff Inspect changes on a container’s filesystem #查看 docker容器变化
events Get real time events from the server #从 docker服务获取容器实时事件
exec Run a command in an existing container #在已存在的容器上运行命令
docker的命令是十分多的,上面我们学习的那些都是最常用的容器和镜像的命令,之后我们还会学习很多命令!