- 查询配置完成的容器ID
docker container ls
- 生成新的镜像
docker container commit ${container id} ${image name}
- 标注用户名和版本
docker image tag ${image name} ${user name}/${repository}
- 发布镜像
docker image push ${user name}/${repository}
2024-03-31 11:41:04
docker container ls
docker container commit ${container id} ${image name}
docker image tag ${image name} ${user name}/${repository}
docker image push ${user name}/${repository}