sajad torkamani
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

Leave a comment

Your email address will not be published. Required fields are marked *