This file contains hidden or 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
RAND_PORT=56789 | |
# Redirect registry url localhost:$RAND_PORT to kubernetes registry service | |
socat TCP-LISTEN:$RAND_PORT,fork TCP:$c1:$REGISTRY_PORT & | |
# Get dockercoins application and build | |
git clone https://github.com/roicostas/docker-orchestration | |
cd docker-orchestration/dockercoins | |
env REGISTRY_DASH=localhost:$RAND_PORT/ docker-compose -f docker-compose.yml-registry build | |
env REGISTRY_DASH=localhost:$RAND_PORT/ docker-compose -f docker-compose.yml-registry push | |
cd ../.. |
This file contains hidden or 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
# Get dockercoins application | |
git clone https://github.com/roicostas/docker-orchestration | |
cd docker-orchestration/dockercoins | |
# Build and push dockercoins to the registry | |
docker-compose -f docker-compose.yml-registry build | |
docker-compose -f docker-compose.yml-registry push |