Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # setup
- pip install --upgrade awscli
- aws configure
- # login (to pull and push images)
- aws ecr get-login
- docker loging -u ... blah blash..
- # pull image: download after aws registry authentication
- docker pull my_registryid.dkr.ecr.us-west-2.amazonaws.com/my_folder/repo_tag_name
- # build & push image to registry
- docker build -t my_tag -f Dockerfile.my_image_name .
- docker tag lights my_registryid.dkr.ecr.us-west-2.amazonaws.com/my_folder/repo_tag_name
- # utilities
- docker images
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement