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