Skip to content

Commit e59b6d4

Browse files
authored
Merge pull request #1729 from vsoch/patch-2
adding go get instruction to readme
2 parents 595bea0 + 0f3d824 commit e59b6d4

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,18 @@ make
4141
sudo make install
4242
```
4343

44+
You can also use `go get` to install to your `GOPATH`, assuming that you have a `github.com` parent folder already created under `src`:
45+
46+
```bash
47+
go get github.com/opencontainers/runc
48+
cd $GOPATH/src/github.com/opencontainers/runc
49+
make
50+
sudo make install
51+
```
52+
4453
`runc` will be installed to `/usr/local/sbin/runc` on your system.
4554

55+
4656
#### Build Tags
4757

4858
`runc` supports optional build tags for compiling support of various features.

0 commit comments

Comments
 (0)