From ec371109578d4a12b490cc913161235d4c310207 Mon Sep 17 00:00:00 2001 From: Mrunal Patel Date: Wed, 9 Sep 2015 19:26:26 -0400 Subject: [PATCH] Update README for the CAP prefix change Signed-off-by: Mrunal Patel --- README.md | 6 +++--- libcontainer/README.md | 28 ++++++++++++++-------------- 2 files changed, 17 insertions(+), 17 deletions(-) diff --git a/README.md b/README.md index 1bf463cc..e76a826d 100644 --- a/README.md +++ b/README.md @@ -141,9 +141,9 @@ user with uid and gid of `0` defined within that file-system. ], "linux": { "capabilities": [ - "AUDIT_WRITE", - "KILL", - "NET_BIND_SERVICE" + "CAP_AUDIT_WRITE", + "CAP_KILL", + "CAP_NET_BIND_SERVICE" ], "rootfsPropagation": "" } diff --git a/libcontainer/README.md b/libcontainer/README.md index a0742fe0..295edb4f 100644 --- a/libcontainer/README.md +++ b/libcontainer/README.md @@ -32,20 +32,20 @@ struct describing how the container is to be created. A sample would look simil config := &configs.Config{ Rootfs: rootfs, Capabilities: []string{ - "CHOWN", - "DAC_OVERRIDE", - "FSETID", - "FOWNER", - "MKNOD", - "NET_RAW", - "SETGID", - "SETUID", - "SETFCAP", - "SETPCAP", - "NET_BIND_SERVICE", - "SYS_CHROOT", - "KILL", - "AUDIT_WRITE", + "CAP_CHOWN", + "CAP_DAC_OVERRIDE", + "CAP_FSETID", + "CAP_FOWNER", + "CAP_MKNOD", + "CAP_NET_RAW", + "CAP_SETGID", + "CAP_SETUID", + "CAP_SETFCAP", + "CAP_SETPCAP", + "CAP_NET_BIND_SERVICE", + "CAP_SYS_CHROOT", + "CAP_KILL", + "CAP_AUDIT_WRITE", }, Namespaces: configs.Namespaces([]configs.Namespace{ {Type: configs.NEWNS},