From 75cb11ce4a825384580c33826b2c55450cf0062c Mon Sep 17 00:00:00 2001 From: Antonio Murdaca Date: Thu, 17 Sep 2015 09:24:21 +0200 Subject: [PATCH] runtime: config: linux: Fix typo and trailing commas in json example Signed-off-by: Antonio Murdaca --- runtime-config-linux.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/runtime-config-linux.md b/runtime-config-linux.md index f6bf82ee..3dd63af9 100644 --- a/runtime-config-linux.md +++ b/runtime-config-linux.md @@ -20,17 +20,17 @@ Also, when a path is specified, a runtime MUST assume that the setup for that pa "path": "/var/run/netns/neta" }, { - "type": "mount", + "type": "mount" }, { - "type": "ipc", + "type": "ipc" }, { - "type": "uts", + "type": "uts" }, { - "type": "user", - }, + "type": "user" + } ] ``` @@ -132,7 +132,7 @@ Also known as cgroups, they are used to restrict resource usage for a container cgroups provide controls to restrict cpu, memory, IO, pids and network for the container. For more information, see the [kernel cgroups documentation](https://www.kernel.org/doc/Documentation/cgroups/cgroups.txt). -The path to the cgroups can to be specified in the Spec via `cgroupsPath`. +The path to the cgroups can be specified in the Spec via `cgroupsPath`. `cgroupsPath` is expected to be relative to the cgroups mount point. If not specified, cgroups will be created under '/'. Implementations of the Spec can choose to name cgroups in any manner.