mreithub / rocker

Docker wrapper
Apache License 2.0
4 stars 0 forks source link

Feature: Save automatically created dependencies in a container's labels #4

Open mreithub opened 9 years ago

mreithub commented 9 years ago

To keep track of automatic container creation, add label(s) listing all the other containers that were automatically created as dependencies for this one.

That way, implementing a rocker cleanup (see #3) could safely remove only containers that were created automatically (and that have no other containers depending on them).