Merge pull request #63 from kennethlimcp/patch-2

fixed typo
This commit is contained in:
Alexander Morozov 2015-06-30 09:26:31 -07:00
commit e079993379
1 changed files with 6 additions and 6 deletions

View File

@ -5,8 +5,8 @@
## State of the project ## State of the project
Currently `runc` is an implementation of the OCF specification. We are currently sprinting Currently `runc` is an implementation of the OCF specification. We are currently sprinting
to have a v1 of the spec out within a quick timeframe of a few weeks, ~July 2015, to have a v1 of the spec out within a quick timeframe of a few weeks, ~July 2015,
so the `runc` config format will be constantly changing until so the `runc` config format will be constantly changing until
the spec is finalized. However, we encourage you to try out the tool and give feedback. the spec is finalized. However, we encourage you to try out the tool and give feedback.
### Building: ### Building:
@ -22,16 +22,16 @@ sudo make install
### Using: ### Using:
To run a container that you received just execute `runc` with the JSON format as the argument or have a To run a container that you received just execute `runc` with the JSON format as the argument or have a
`container.json` file in the current working directory. `container.json` file in the current working directory.
```bash ```bash
runc runc
/ $ ps / $ ps
PID USER COMMAND PID USER COMMAND
1 daemon sh 1 daemon sh
5 daemon sh 5 daemon sh
/ $ / $
``` ```
### OCF Container JSON Format: ### OCF Container JSON Format:
@ -110,7 +110,7 @@ user named `daemon` defined within that file-system.
#### Using a Docker image (requires version 1.3 or later) #### Using a Docker image (requires version 1.3 or later)
To test using Docker's `busybox` image follow these steps: To test using Docker's `busybox` image follow these steps:
* Install `docker` and download the `buysbox` image: `docker pull busybox` * Install `docker` and download the `busybox` image: `docker pull busybox`
* Create a container from that image and export its contents to a tar file: * Create a container from that image and export its contents to a tar file:
`docker export $(docker create busybox) > busybox.tar` `docker export $(docker create busybox) > busybox.tar`
* Untar the contents to create your filesystem directory: * Untar the contents to create your filesystem directory: