1.docker镜像管理>> 登陆docker>>找到自己的镜像
Windos docker镜像封装
2.点开自己的镜像,并复制push 命令
Windos docker镜像封装
复制如:docker pull 219.216.99.4:8888/tfpy3.6/unet:v1.0

3.打开cmd>>进入自己的镜像
Windos docker镜像封装
其中 docker run -it 219.216.99.4:8888/tfpy3.6/unet:v1.0 /bin/bash 命令就是进入镜像
(219.216.99.4:8888/tfpy3.6/unet:v1.0在前面复制的镜像)

4.进行模块的更换
pip install –
pip uninstall –
Windos docker镜像封装
下载模块时可以用清华镜像源:pip3 install -i https://pypi.tuna.tsinghua.edu.cn/simple/ matplotlib==2.1.0

5.打开新cmd
1) docker commit -a “yipala” -m “tfpy3.5” c6cfea881fbf 219.216.99.4:8888/tfpy3.6/unet:v1.0
其中c6cfea881fbf是上一个cmd [email protected]后面的数字
2)docker login 219.216.99.4:8888
3) docker push 219.216.99.4:8888/tfpy3.6/unet:v1.0
Windos docker镜像封装
Windos docker镜像封装

相关文章:

猜你喜欢
相关资源
相似解决方案