site: note that flags passed to run should be replicated for restore

PiperOrigin-RevId: 551588446
This commit is contained in:
Kevin Krakauer
2023-07-27 11:21:55 -07:00
committed by gVisor bot
parent a3ae02eee3
commit 39d89e4a93
+5 -2
View File
@@ -31,9 +31,9 @@ continue to run after the checkpoint has been made. (By default, containers stop
their processes after committing a checkpoint.)
> Note: All top-level runsc flags needed when calling run must be provided to
> checkpoint if --leave-running is used.
> checkpoint if `--leave-running` is used.
> Note: --leave-running functions by causing an immediate restore so the
> Note: `--leave-running` functions by causing an immediate restore so the
> container, although will maintain its given container id, may have a different
> process id.
@@ -51,6 +51,9 @@ runsc create <container id>
runsc restore --image-path=<path> <container id>
```
> Note: All top-level runsc flags needed when calling run must be provided to
> `restore`.
## How to use checkpoint/restore in Docker:
Currently checkpoint/restore through `runsc` is not entirely compatible with