docker 设置代理构建 face_recognition

docker 配置代理

先启动一个代理,然后 指定 代理 --build-arg

 docker build --build-arg http_proxy=http://192.168.43.99:7890 --build-arg https_proxy=http://192.168.43.99:7890  -t registry.cn-hangzhou.aliyuncs.com/mkmk/python:face_recognition .

构建好的镜像 地址

registry.cn-hangzhou.aliyuncs.com/mkmk/python:face_recognition

下载构建好的镜像

docker pull registry.cn-hangzhou.aliyuncs.com/mkmk/python:face_recognition

猜你喜欢

转载自blog.csdn.net/qq_43373608/article/details/109149050