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.
e.g.
[ Parent
| on HN ]
I would recommend adding "--rm", to avoid leaving leftovers when the container exits: