3 ms·
> This script is intended to be run as a cron job, but you can also run it as a Docker container I mean, he's right on the cron part. That's how all the variou
by bpicolo 10y ago
> This script is intended to be run as a cron job, but you can also run it as a Docker container
I mean, he's right on the cron part. That's how all the various open source docker cleaners are working.
- awinder 10y agoSure, it all hinges on cleaning up on a schedule, however you want to do that, cron is probably pretty popular. But the "hackiness" was due to a rudimentary approach, not because it inevitably needed to be a hacky process.
- discordianfish 10y agoRight, the whole argument doesn't make sense. What should Docker do instead? Removing containers after they stopped so you have no idea what happened when it crashed? "Reuse" the container? Apparently somebody didn't grasp the concepts* and therefor considers all this BS. *) Docker could maybe do better here, but tbh - I think documentation and getting the word out about how things work is one of the things Docker Inc does pretty ok.