Docker 使用
Docker 使用
1.常见命令
2.数据卷命令
3.自定义镜像命令
4.自定义网络命令
5.测试脚本
docker ps
docker images
docker run -d --name web1 -p 8888:8888 --network hmall web1:1.0 --restart=always
docker build -t web1:1.0 .
docker inspect quizzical_cartwright
docker network connect hmall adminnetwebentry
docker network connect hmall quizzical_cartwright
docker export 355bf9d65a81 > adminnetwebentry.tar
docker save -o adminnetwebentry.tar adminnetwebentry
C:\Users\Administrator