From 0ec6526fd35e3ef9afe420284c910b03653ad674 Mon Sep 17 00:00:00 2001 From: "Justin Terry (VM)" Date: Mon, 17 Dec 2018 13:24:18 -0800 Subject: [PATCH] Update the delete docs for Runtime V2 on Windows Signed-off-by: Justin Terry (VM) --- runtime/v2/README.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/runtime/v2/README.md b/runtime/v2/README.md index 481861643..619ed7380 100644 --- a/runtime/v2/README.md +++ b/runtime/v2/README.md @@ -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