Add new update command to runc.

This command allow users to update some of a container cgroups
parameters.

Signed-off-by: Kenfe-Mickael Laventure <mickael.laventure@gmail.com>
This commit is contained in:
Kenfe-Mickael Laventure
2016-04-28 07:30:50 -07:00
parent 27814ee120
commit 4190e5a920
3 changed files with 394 additions and 2 deletions
+3 -2
View File
@@ -18,7 +18,7 @@ const (
version = "0.1.1"
specConfig = "config.json"
usage = `Open Container Initiative runtime
runc is a command line client for running applications packaged according to
the Open Container Initiative (OCI) format and is a compliant implementation of the
Open Container Initiative specification.
@@ -30,7 +30,7 @@ direct child of the process supervisor.
Containers are configured using bundles. A bundle for a container is a directory
that includes a specification file named "` + specConfig + `" and a root filesystem.
The root filesystem contains the contents of the container.
The root filesystem contains the contents of the container.
To start a new instance of a container:
@@ -99,6 +99,7 @@ func main() {
specCommand,
startCommand,
stateCommand,
updateCommand,
}
app.Before = func(context *cli.Context) error {
if context.GlobalBool("debug") {