From e59092b62ce18597da8d374d76d9876af4dcd4f3 Mon Sep 17 00:00:00 2001 From: Dan Stine Date: Fri, 4 Apr 2014 08:12:17 -0400 Subject: [PATCH 1/2] fixed two readme typos --- libcontainer/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libcontainer/README.md b/libcontainer/README.md index e967f6d..3bf7954 100644 --- a/libcontainer/README.md +++ b/libcontainer/README.md @@ -3,7 +3,7 @@ #### background libcontainer specifies configuration options for what a container is. It provides a native Go implementation -for using linux namespaces with no external dependencies. libcontainer provides many convience functions for working with namespaces, networking, and management. +for using linux namespaces with no external dependencies. libcontainer provides many convenience functions for working with namespaces, networking, and management. #### container @@ -91,7 +91,7 @@ Sample `container.json` file: ``` Using this configuration and the current directory holding the rootfs for a process, one can use libcontainer to exec the container. Running the life of the namespace, a `pid` file -is written to the current directory with the pid of the namespaced process to the external world. A client can use this pid to wait, kill, or perform other operation with the container. If a user tries to run an new process inside an existing container with a live namespace the namespace will be joined by the new process. +is written to the current directory with the pid of the namespaced process to the external world. A client can use this pid to wait, kill, or perform other operation with the container. If a user tries to run a new process inside an existing container with a live namespace the namespace will be joined by the new process. You may also specify an alternate root place where the `container.json` file is read and where the `pid` file will be saved. From 3a7b63669c0614a489a06f94a1bad4cfbebb0fe7 Mon Sep 17 00:00:00 2001 From: Dan Stine Date: Mon, 7 Apr 2014 22:09:15 -0400 Subject: [PATCH 2/2] fixed three more typos --- libcontainer/README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libcontainer/README.md b/libcontainer/README.md index 3bf7954..d6d0fba 100644 --- a/libcontainer/README.md +++ b/libcontainer/README.md @@ -3,7 +3,7 @@ #### background libcontainer specifies configuration options for what a container is. It provides a native Go implementation -for using linux namespaces with no external dependencies. libcontainer provides many convenience functions for working with namespaces, networking, and management. +for using Linux namespaces with no external dependencies. libcontainer provides many convenience functions for working with namespaces, networking, and management. #### container @@ -91,7 +91,7 @@ Sample `container.json` file: ``` Using this configuration and the current directory holding the rootfs for a process, one can use libcontainer to exec the container. Running the life of the namespace, a `pid` file -is written to the current directory with the pid of the namespaced process to the external world. A client can use this pid to wait, kill, or perform other operation with the container. If a user tries to run a new process inside an existing container with a live namespace the namespace will be joined by the new process. +is written to the current directory with the pid of the namespaced process to the external world. A client can use this pid to wait, kill, or perform other operation with the container. If a user tries to run a new process inside an existing container with a live namespace, the namespace will be joined by the new process. You may also specify an alternate root place where the `container.json` file is read and where the `pid` file will be saved. @@ -99,7 +99,7 @@ You may also specify an alternate root place where the `container.json` file is #### nsinit `nsinit` is a cli application used as the reference implementation of libcontainer. It is able to -spawn or join new containers giving the current directory. To use `nsinit` cd into a linux +spawn or join new containers giving the current directory. To use `nsinit` cd into a Linux rootfs and copy a `container.json` file into the directory with your specified configuration. To execute `/bin/bash` in the current directory as a container just run: