Created
April 18, 2018 14:07
-
-
Save guaxinim/695a850e62fd1508b696c4807ed991d6 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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