#!/bin/bash
docker run -it <image_id> bash
Where bash
could be bash
, /bin/bash
or something equivalence.
#!/bin/bash
docker system prune -a
#!/bin/bash
aws ecr get-login
Then copy the response and run in shell. Then use docker pull <image url in ecr>
directly.