runtime: config: linux: Fix typo and trailing commas in json example

Signed-off-by: Antonio Murdaca <runcom@linux.com>
This commit is contained in:
Antonio Murdaca 2015-09-17 09:24:21 +02:00
parent dca1dfdd92
commit 75cb11ce4a
1 changed files with 6 additions and 6 deletions

View File

@ -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" "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. 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). 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. `cgroupsPath` is expected to be relative to the cgroups mount point.
If not specified, cgroups will be created under '/'. If not specified, cgroups will be created under '/'.
Implementations of the Spec can choose to name cgroups in any manner. Implementations of the Spec can choose to name cgroups in any manner.