O'Reilly logo
  • María Teresa Rebollo Alonso thinks this is interesting:

--rm

From

Cover of Learn Docker - Fundamentals of Docker 18.x

Note

Once the container is disconnected, the client does a rm on it