[换成自己的源]
docker-machine ssh default
sed -i "s|EXTRA_ARGS='|EXTRA_ARGS='--registry-mirror=https://2w188x2k.mirror.aliyuncs.com|g" /var/lib/boot2docker/profile
exit
docker-machine restart default
[打开rknndocker]
docker run -t -i --privileged -v /dev/bus/usb:/dev/bus/usb rknn-toolkit:1.7.1 /bin/bash
--------------------------------------------------------在CMD中执行-------------------------------------------------------------------------
[登录]
docker login --username=21mikasa registry.cn-hangzhou.aliyuncs.com
[创建版本号]
docker tag [ImageId] registry.cn-hangzhou.aliyuncs.com/x21time/jsjsjds:[镜像版本号]
docker tag 50105e3a4110 registry.cn-hangzhou.aliyuncs.com/x21time/jsjsjds:0.1
[推送到云]
docker push registry.cn-hangzhou.aliyuncs.com/x21time/jsjsjds:[镜像版本号]
docker push registry.cn-hangzhou.aliyuncs.com/x21time/jsjsjds:0.1
[拉取到本地]
docker pull registry.cn-hangzhou.aliyuncs.com/x21time/jsjsjds:[镜像版本号]
docker stats 查看容器动态资源使用情况
[复制到本地]
docker cp f97b90199165:/examples/pytorch/yolov5 ./
[将容器id为d 5944567401a 的容器保存为名为 mssql-2019-with-cimb 版本号为 1.0]
https://zhuanlan.zhihu.com/p/348849578
docker commit d5944567401a mssql-2019-with-cimb:1.0
标签:aliyuncs,cn,hangzhou,20042124,registry,docker,com,chappie From: https://www.cnblogs.com/x21time/p/17362961.html