News for hackers. Stuff that matters.
Re:Basic Docker Commands for Beginners by team-o on Friday April 24, 2020 @03:34AM (#22965568)
I personally find the interactive switch very useful to actually control the container. You can use "-it" flag for this.

  docker run -it [IMAGE_NAME] [ENTRYPOINT] 
e.g.

  docker run -it ubuntu:xenial /bin/bash
Re:Basic Docker Commands for Beginners by fauria on Friday April 24, 2020 @07:24AM (#22966832)
I would recommend adding "--rm", to avoid leaving leftovers when the container exits:

https://docs.docker.com/engine/reference/run/#clean-up---rm