Welcome to the Linux Foundation Forum!

Add --rm to dockers spawned in tutorials

LFS151 has several tutorials on docker containers, for example on chapter 10 - Sharing Container Network namespaces.

For a user who is first seeing containers, they can easily forget about the spawned containers and leave them hogging space in the system. I suggest either spawning the containers with --rm or add docker container rm after the laboratories.

thanks for your attention :)

Comments

  • chrispokorni
    chrispokorni Posts: 2,372

    Hi @marcomontevechi,

    Thank you for your recommendation. The next course content update will include notes how to "clean up" the system after an install or a deployment.

    Regards,
    -Chris

Categories

Upcoming Training