From c81ca6ef71a6fa5ebb7d45b28ac2f9fb958ca573 Mon Sep 17 00:00:00 2001 From: Rohit Jnagal Date: Fri, 25 Apr 2014 01:23:48 +0000 Subject: [PATCH] Improved README formatting. Docker-DCO-1.1-Signed-off-by: Rohit Jnagal (github: rjnagal) --- libcontainer/README.md | 99 +++++++++++++++++++++++++----------------- 1 file changed, 59 insertions(+), 40 deletions(-) diff --git a/libcontainer/README.md b/libcontainer/README.md index 1ab2a48..b58b789 100644 --- a/libcontainer/README.md +++ b/libcontainer/README.md @@ -42,50 +42,64 @@ Sample `container.json` file: ], "capabilities_mask" : [ { - "key": "SETPCAP", - "enabled": true + "key": "SETPCAP", + "enabled": true }, - { "key": "SYS_MODULE", - "enabled": true + { + "key": "SYS_MODULE", + "enabled": true }, - { "key": "SYS_RAWIO", - "enabled": true + { + "key": "SYS_RAWIO", + "enabled": false }, - { "key": "SYS_PACCT", - "enabled": true + { + "key": "SYS_PACCT", + "enabled": true }, - { "key": "SYS_ADMIN", - "enabled": true + { + "key": "SYS_ADMIN", + "enabled": true }, - { "key": "SYS_NICE", - "enabled": true + { + "key": "SYS_NICE", + "enabled": true }, - { "key": "SYS_RESOURCE", - "enabled": true + { + "key": "SYS_RESOURCE", + "enabled": true }, - { "key": "SYS_TIME", - "enabled": true + { + "key": "SYS_TIME", + "enabled": true }, - { "key": "SYS_TTY_CONFIG", - "enabled": true + { + "key": "SYS_TTY_CONFIG", + "enabled": true }, - { "key": "MKNOD", - "enabled": true + { + "key": "MKNOD", + "enabled": true }, - { "key": "AUDIT_WRITE", - "enabled": true + { + "key": "AUDIT_WRITE", + "enabled": true }, - { "key": "AUDIT_CONTROL", - "enabled": true + { + "key": "AUDIT_CONTROL", + "enabled": true }, - { "key": "MAC_OVERRIDE", - "enabled": true + { + "key": "MAC_OVERRIDE", + "enabled": true }, - { "key": "MAC_ADMIN", - "enabled": true + { + "key": "MAC_ADMIN", + "enabled": true }, - { "key": "NET_ADMIN", - "enabled": true + { + "key": "NET_ADMIN", + "enabled": true } ], "context" : { @@ -112,20 +126,25 @@ Sample `container.json` file: } ], "namespaces" : [ - { "key": "NEWNS", - "enabled": true + { + "key": "NEWNS", + "enabled": true }, - { "key": "NEWUTS", - "enabled": true + { + "key": "NEWUTS", + "enabled": true }, - { "key": "NEWIPC", - "enabled": true + { + "key": "NEWIPC", + "enabled": true }, - { "key": "NEWPID", - "enabled": true + { + "key": "NEWPID", + "enabled": true }, - { "key": "NEWNET", - "enabled": true + { + "key": "NEWNET", + "enabled": true } ] }