SHARE
TWEET

Untitled

a guest Oct 18th, 2019 91 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # setup
  2. pip install --upgrade awscli
  3. aws configure
  4.  
  5. # login (to pull and push images)
  6. aws ecr get-login
  7. docker loging -u ... blah blash..
  8.  
  9. # pull image (download after aws registry authentication)
  10. docker pull my_registryid.dkr.ecr.us-west-2.amazonaws.com/my_folder/repo_tag_name
  11.  
  12. # build & push image to registry
  13. docker build -t my_tag -f Dockerfile.my_image_name .
  14. docker tag my_tag my_registryid.dkr.ecr.us-west-2.amazonaws.com/my_folder/repo_tag_name
  15.  
  16. # utilities
  17. docker images
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top