Start interactive bash session in Docker image
11 March 2022 (Updated 11 March 2022)
docker run --rm -it <IMAGE> bash
This will spin up an interactive bash session inside a Docker image.
--rm
: Remove the container after itโs stopped (helps to save disk space)--it
: Make the bash session interactive
Tagged:
Docker
Thanks for your comment ๐. Once it's approved, it will appear here.
Leave a comment