Docker 镜像修改和提交 当你发现构建的镜像缺少python模块,可以进入镜像修改 1.启动镜像 docker run -it "<镜像ID>" /bin/bash 修改... exit 2.提交修改 容器ID = 修改后docker ps -l 查看生成的容器ID docker commit "<容器ID>" image_name:tag 查看镜像已经有了修改 Comments Please enable JavaScript to view the comments powered by Disqus. comments powered by Disqus
Comments
comments powered by Disqus