1. 查看所有镜像
docker images
2. 查看运行的容器
docker ps
3. 查看运行及关闭的容器
docker ps -a
4. 搜索镜像
docker search ${keyWord}
5. 拉取镜像
docker pull ${imageName:tag}
6. 创建容器
-p 映射端口、-v 映射路径、–name 起别名、-d 后台运行
docker run -p h o s t P o r t : {hostPort}: hostPort:{applicationPort} --name ${containerName}
-v h o s t P a t h : {hostPath}: hostPath