https://github.com/opencontainers/runc/wiki/Ubuntu-14.04---Mint17-and-runc
this link is pretty good.
But please be careful about the "golang" version.
if you use ‘apt-get install golang‘, you will get go1.2 which is not work for the build.
==
what you need to do: curl -O https://storage.googleapis.com/golang/go1.6.linux-amd64.tar.gz
tar xvf go1.6.linux-amd64.tar.gz
mv go /usr/local
vim ~/.profile add ‘export PATH=$PATH:/usr/local/go/bin‘
source ~/.profile
[check the version now] [email protected]:~/gocode/github.com/opencontainers/runc# go version
go version go1.6 linux/amd64
==
apt-get install libseccomp-dev
now you can follow the instruction step by step:
you will get:
[email protected]:~/gocode/github.com/opencontainers/runc# runc -v runc version 1.0.0-rc1 commit: ab10b6068b3f7ec99370eb66bf48592998cc9db1 spec: 1.0.0-rc1