On Wed, 29 Jan 2020, Tom Sweeney wrote:
I'll give it a try, if Dan or Matt say differently, go with
them.
`podman pause` pauses the processes in the container and puts the
container into the "Paused" state. You can kind of think of it as a
flash freeze of the container. The `podman unpause` command
unpauses the container and let's the processes continue running from
the point they were at when they were paused.
`podman stop` is a bigger hammer. It kills all the processes within
the container and puts the container into the "Exited" state. The
container can be restarted with `podman start` and all the processes
in the container will have to restart from scratch.
after playing for a bit, i did figure out most of this ... the one
thing i *think* i verified and that would be worth putting in "man
podman-stop" is that the overlay read-write layer is discarded upon
stopping, so all changes during that session are thrown away (i
verified this with "podman inspect" and "python -m json.tool").
i think mentioning that (and also that one can still see the stopped
container with "podman container ls -a") would make things clearer.
rday