Closed LuisEnMarroquin closed 2 years ago
Hi @LuisEnMarroquin,
The default entrypoint for the AWS CLI Docker container image is set to the aws
executable. This provides the most natural way to use the container image as a drop-in replacement for running the aws
command on the command line. If you want to enter into the running container, you can provide your own entrypoint, like this:
docker run --entrypoint /bin/bash --rm -it amazon/aws-cli
You can also create your own image based off of this one and provide your own ENTRYPOINT
. Be aware that the environment provided inside is very minimal.
You can read more about Docker entrypoints here:
Let us know if you have any further issues!
Comments on closed issues are hard for our team to see. If you need more assistance, please open a new issue that references this one. If you wish to keep having a conversation with other community members under this issue feel free to do so.
Confirm by changing [ ] to [x] below:
Issue is about usage on:
Platform/OS/Hardware/Device What are you running the cli on?
Ubuntu 20 LTS
Describe the question
Logs/output Get full traceback and error logs by adding
--debug
to the command.I want to exec into container with
sh
orbash