Skip to content

Instantly share code, notes, and snippets.

@verticalgrain
Last active May 1, 2019 18:17
Show Gist options
  • Save verticalgrain/dfa79d152395e7c362ce6089470be3b2 to your computer and use it in GitHub Desktop.
Save verticalgrain/dfa79d152395e7c362ce6089470be3b2 to your computer and use it in GitHub Desktop.
AWS & Docker
// Configure AWS Cli with authentication
aws configure
// Run aws ecr get-login command to generate AWS login command for docker
// Run command, then copy and paste output, and run that to log in
// If pulling images from multiple AWS regions, run command again,
// replacing us-east-1 with correct region, for as many regions as necessary
aws ecr get-login --no-include-email --region us-east-1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment