From 7082ed370ec41899de3ff706c5b435bee9331b02 Mon Sep 17 00:00:00 2001 From: Phil Estes Date: Tue, 28 Jul 2015 10:27:09 -0400 Subject: [PATCH] Update README.md to correct comment about spec and user Now that the generated spec (and the example above in the README) use uid/gid and don't have the hardcoded `daemon` entry, the statement about changing `daemon` to `root` no longer applies. Also added a comment about using the `runc spec` command to generate `config.json`. Docker-DCO-1.1-Signed-off-by: Phil Estes (github: estesp) --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 8d70e5a45..4e83fe9d1 100644 --- a/README.md +++ b/README.md @@ -208,8 +208,8 @@ To test using Docker's `busybox` image follow these steps: mkdir rootfs tar -C rootfs -xf busybox.tar ``` -* Create a file called `config.json` using the example from above. -Modify the `user` property to be `root`. +* Create a file called `config.json` using the example from above. You can also +generate a spec using `runc spec`, redirecting the output into `config.json` * Execute `runc` and you should be placed into a shell where you can run `ps`: ``` $ runc