Skip to content

Instantly share code, notes, and snippets.

@guaxinim
Created April 18, 2018 14:07
Show Gist options
  • Save guaxinim/695a850e62fd1508b696c4807ed991d6 to your computer and use it in GitHub Desktop.
Save guaxinim/695a850e62fd1508b696c4807ed991d6 to your computer and use it in GitHub Desktop.
Interno (da maquina master por exemplo)
docker pull busybox
docker tag docker.io/busybox 172.30.88.167:5000/openshift/busybox
docker login -u admin -e [email protected] -p psmVILEDl2wRWh3kr_J-Ef1xBBTaeNTmnpid66vjNyQ 172.30.88.167:5000
docker push 172.30.88.167:5000/openshift/busybox
Externo
docker pull busybox
docker tag alpine docker-registry-default.apps.example.com/openshift/alpine
(Adicionar no insecure registries)
(--insecure-registry=docker-registry-default.apps.example.com)
docker login -u admin -p psmVILEDl2wRWh3kr_J-Ef1xBBTaeNTmnpid66vjNyQ https://docker-registry-default.apps.example.com
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment