1、使用docker tag给busybox加上一个标签localhost:5000/busybox:latest;
docker tag busybox localhost:5000/my-busybox:latest
2、将localhost:5000/busybox:latest镜像推送到私人仓库;
docker push localhost:5000/my-busybox:latest
3、从私人仓库拉取localhost:5000/busybox:latest镜像。
docker pull localhost:5000/my-busybox:latest