Advertisement
Guest User

Untitled

a guest
Oct 18th, 2019
109
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.47 KB | None | 0 0
  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
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement