17 ms·
You mean creating a different container that is exactly equal to the previous one? It's absolutely possible, but I'm not sure there's any tool out there with t
by marcosdumay 1y ago
You mean creating a different container that is exactly equal to the previous one?
It's absolutely possible, but I'm not sure there's any tool out there with that command... because why would you? You'll get about the same result as forking a process inside the container.
- bobmcnamara 1y agoIt's useful if you want to bring up a containerized service, optionally update OS, run tests, and if everything is good, copy that instance a bunch of times rather than starting fresh. It gets you scale out a batch of VMs remarkably quickly, while leaving the original available for os/patch updates. If I'm willing to pay the cost of keeping an idle VM around, subsequent launches are probably an order of magnitude faster than docker hello-world.