1 install runC on Ubuntu14.04
chen xi edited this page 2016-06-09 10:34:34 -04:00
This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

previous link: https://github.com/opencontainers/runc/wiki/Ubuntu-14.04---Mint17-and-runc

But 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 #just for test,can be better
vim ~/.profile
add 'export PATH=$PATH:/usr/local/go/bin'
source ~/.profile

###check the version now### root@vm1:~/gocode/github.com/opencontainers/runc# go version
go version go1.6 linux/amd64

###now you can follow the previous link step by step:###

you may need to install libseccomp: apt-get install libseccomp-dev

you will get:

root@vm1:~/gocode/github.com/opencontainers/runc# runc -v
runc version 1.0.0-rc1
commit: ab10b6068b
spec: 1.0.0-rc1