Skip to content

Instantly share code, notes, and snippets.

@rafamaciel
Created May 10, 2017 13:27
Show Gist options
  • Save rafamaciel/d926e3de0a07fb0038aa26b50451aaab to your computer and use it in GitHub Desktop.
Save rafamaciel/d926e3de0a07fb0038aa26b50451aaab to your computer and use it in GitHub Desktop.
Docker scripts
#!/bin/bash
source $HOME/.config
IMAGE=$1
echo $DOCKER_USERNAME
echo $DOCKER_PASSWORD
docker login -u $DOCKER_USERNAME -p $DOCKER_PASSWORD $DOCKER_REGISTRY
docker pull $IMAGE
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment