Skip to content

Latest commit

 

History

History
35 lines (30 loc) · 1.14 KB

DOCKER.md

File metadata and controls

35 lines (30 loc) · 1.14 KB

Docker

docker login localhost:8082 \
  -p $(docker exec -it nexus3-n3dr-src cat /nexus-data/admin.password) \
  -u admin && \
for d in $(seq 5); do
  docker_registry_tag=localhost:8082/repository/docker-images/utrecht/n3dr:6.${d}.0
  docker pull "utrecht/n3dr:6.${d}.0"
  docker tag "utrecht/n3dr:6.${d}.0" localhost:8082/repository/docker-images/utrecht/n3dr:6.${d}.0
  docker push localhost:8082/repository/docker-images/utrecht/n3dr:6.${d}.0
done
./n3dr configRepository \
  -u admin \
  -p $(docker exec -it nexus3-n3dr-dest cat /nexus-data/admin.password) \
  -n localhost:9000 \
  --https=false \
  --configRepoName docker-images \
  --configRepoType docker