File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 55The runtime state for a container is persisted on disk so that external tools can consume and act on this information.
66The runtime state is stored in a JSON encoded file.
77It is recommended that this file is stored in a temporary filesystem so that it can be removed on a system reboot.
8- On Linux based systems the state information should be stored in ` /run/oci /containers ` .
9- The directory structure for a container is ` /run/oci /containers/<containerID>/state.json ` .
8+ On Linux based systems the state information should be stored in ` /run/opencontainer /containers ` .
9+ The directory structure for a container is ` /run/opencontainer /containers/<containerID>/state.json ` .
1010By providing a default location that container state is stored external applications can find all containers running on a system.
1111
1212* ** version** (string) Version of the OCI specification used when creating the container.
@@ -23,7 +23,7 @@ The root directory to the bundle is provided in the state so that consumers can
2323
2424``` json
2525{
26- "id" : " oci -container" ,
26+ "id" : " oc -container" ,
2727 "pid" : 4422 ,
2828 "root" : " /containers/redis"
2929}
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ package specs
33import "os"
44
55// LinuxStateDirectory holds the container's state information
6- const LinuxStateDirectory = "/run/oci /containers"
6+ const LinuxStateDirectory = "/run/opencontainer /containers"
77
88// LinuxRuntimeSpec is the full specification for linux containers.
99type LinuxRuntimeSpec struct {
You can’t perform that action at this time.
0 commit comments