mirror of
https://github.com/netbirdio/gvisor.git
synced 2026-05-22 17:12:49 -07:00
site: note that flags passed to run should be replicated for restore
PiperOrigin-RevId: 551588446
This commit is contained in:
committed by
gVisor bot
parent
a3ae02eee3
commit
39d89e4a93
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user