创建docker(hosted) 类型的仓库
配置HTTP端口(8082),后续拉取和推送进行是使用此端口进行的,而不是nexus本身对外暴露的端口
vim /etc/docker/daemon.json
{
"insecure-registries":["192.168.15.6:8082"]
}
systemctl daemon-reload
systemctl restart docker
docker tag 192.168.15.6:8082/test/xx:xx
docker push 192.168.15.6:8082/test/xx:xx