diff options
author | Radostin Stoyanov <rstoyanov@fedoraproject.org> | 2021-12-20 19:28:24 +0000 |
---|---|---|
committer | Radostin Stoyanov <rstoyanov@fedoraproject.org> | 2021-12-23 05:47:25 +0000 |
commit | f3d485d4d7050b6bd5f121f95eceb8c4b789ffd4 (patch) | |
tree | 5542f09a4f156bc7ea71f2f6b1d49cf1ded41cac /vendor/github.com/vishvananda | |
parent | 2d7dbda415b41724d0900403c3ac50b29985e763 (diff) | |
download | podman-f3d485d4d7050b6bd5f121f95eceb8c4b789ffd4.tar.gz podman-f3d485d4d7050b6bd5f121f95eceb8c4b789ffd4.tar.bz2 podman-f3d485d4d7050b6bd5f121f95eceb8c4b789ffd4.zip |
Enable checkpoint/restore for /dev/shm
When Podman is running a container in private IPC mode (default), it
creates a bind mount for /dev/shm that is then attached to a tmpfs
folder on the host file system. However, checkpointing a container has
the side-effect of stopping that container and unmount the tmpfs used
for /dev/shm. As a result, after checkpoint all files stored in the
container's /dev/shm would be lost and the container might fail to
restore from checkpoint.
To address this problem, this patch creates a tar file with the
content of /dev/shm that is included in the container checkpoint and
used to restore the container.
Signed-off-by: Radostin Stoyanov <rstoyanov@fedoraproject.org>
Diffstat (limited to 'vendor/github.com/vishvananda')
0 files changed, 0 insertions, 0 deletions