adding go get instruction to readme

Signed-off-by: Vanessa Sochat <vsochat@stanford.edu>
This commit is contained in:
vsoch 2018-02-21 12:54:14 -08:00
parent 595bea022f
commit 0f3d824550
1 changed files with 10 additions and 0 deletions

View File

@ -41,8 +41,18 @@ make
sudo make install
```
You can also use `go get` to install to your `GOPATH`, assuming that you have a `github.com` parent folder already created under `src`:
```bash
go get github.com/opencontainers/runc
cd $GOPATH/src/github.com/opencontainers/runc
make
sudo make install
```
`runc` will be installed to `/usr/local/sbin/runc` on your system.
#### Build Tags
`runc` supports optional build tags for compiling support of various features.