您的位置:首页 > 其它

how to install runC on ubuntu14.04

2016-06-07 22:23 387 查看
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] root@vm1:~/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:

root@vm1:~/gocode/github.com/opencontainers/runc# runc -v runc version 1.0.0-rc1 commit: ab10b6068b3f7ec99370eb66bf48592998cc9db1 spec: 1.0.0-rc1
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: