Comment by cannonpalms
Comment by cannonpalms a day ago
TIL of `docker commit`. What is the use case for this command? Quick debugging or something, to share with a coworker?
Comment by cannonpalms a day ago
TIL of `docker commit`. What is the use case for this command? Quick debugging or something, to share with a coworker?
It seems like their whole platform depends on it though… to my read they’re providing their users with cloud devcontainers to connect to from their local VS Code, then deploying to production by snapshotting the container with docker commit. Those containers have SSH enabled to the internet, which is where all of the auth logs came from that wound up baked into the images.
Same as snapshotting a vm, or as an interactive version of "docker build". But rarely useful, since most workflows don't really need statefulness.