Skip to content

install runC on Ubuntu14.04

chen xi edited this page Jun 9, 2016 · 1 revision

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: ab10b6068b3f7ec99370eb66bf48592998cc9db1
spec: 1.0.0-rc1

Clone this wiki locally