Merge pull request #2885 from jterry75/runtime_v2_docs

Update the delete docs for Runtime V2 on Windows
This commit is contained in:
Michael Crosby 2018-12-18 11:52:45 -05:00 committed by GitHub
commit f8fcf074bd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -36,9 +36,9 @@ This command will launch new shims.
The start command MUST accept the following flags:
* `-namespace` the namespace for the container
* `-id` the id of the container
* `-address` the address of the containerd's main socket
* `-publish-binary` the binary path to publish events back to containerd
* `-id` the id of the container
The start command, as well as all binary calls to the shim, has the bundle for the container set as the `cwd`.
@ -58,11 +58,12 @@ If a bundle is still on disk but containerd cannot connect to a shim, the delete
The delete command MUST accept the following flags:
* `-namespace` the namespace for the container
* `-id` the id of the container
* `-address` the address of the containerd's main socket
* `-publish-binary` the binary path to publish events back to containerd
* `-id` the id of the container
* `-bundle` the path to the bundle to delete. On non-Windows platforms this will match `cwd`
The delete command will be executed in the container's bundle as its `cwd`.
The delete command will be executed in the container's bundle as its `cwd` except for on the Windows platform.
### Host Level Shim Configuration