Skip to content

Commit 43b21d4

Browse files
wkingMa Shimiao
authored andcommitted
lifecycle: Don't require /run/opencontainer/<runtime>/containers
We already require it for Linux/Unix-based systems [1], so we don't have to repeat it here. And other systems will use different paths, which we haven't specified yet. When I asked why we didn't specify a path for Windows [2], Vincent said we were waiting on help from PoC implementations [3]. So this commit punts the location to the "State" section, and lets the "Lifecycle" section just focus on when the write-to-filesystem happens. There's also discussion about removing the filesystem state registry completely [4], in which case we'd want to remove the whole line from the lifecycle. [1]: opencontainers@7713efc#diff-b84a8d65d8ed53f4794cd2db7e8ea731L7 [2]: opencontainers#211 (comment) [3]: opencontainers#211 (comment) [4]: https://groups.google.com/a/opencontainers.org/forum/#!topic/dev/q6TYqVZOcX8 Subject: removal of /run/opencontainer/containers Date: Wed, 25 Nov 2015 14:29:35 +0000 Message-ID: <CAD2oYtNipt3i_C6=J4Bc-jwauo5YAvKXUqTROnPNP3vZ9+C5Vw@mail.gmail.com> Signed-off-by: W. Trevor King <wking@tremily.us>
1 parent 9fdbf71 commit 43b21d4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

runtime.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ The lifecycle describes the timeline of events that happen from when a container
4040
1. OCI compliant runtime is invoked by passing the bundle path as argument.
4141
2. The container's runtime environment is created according to the configuration in config.json.
4242
Any updates to config.json after container is running do not affect the container.
43-
3. The container's state.json file is written to the filesystem under /run/opencontainer/<runtime>/containers/<id>/.
43+
3. The container's state.json file is written to the filesystem.
4444
4. The prestart hooks are invoked by the runtime.
4545
If any prestart hook fails, then the container is stopped and the lifecycle continues at step 8.
4646
5. The user specified process is executed in the container.

0 commit comments

Comments
 (0)