centos 6 編譯 docker

來源:互聯網
上載者:User

標籤:

docker centos 編譯
下載最新原始碼,至目錄:GOPATH/src/github.com/docker
cd GOPATH/src/github.com/docker/docker
go get -v ...


下載golang.org/x/net/websocket失敗
cd GOPATH/src/
mkdir -p golang.org/x/net/
cd golang.org/x/net
git clone https://github.com/golang/net.git ./
下載gopkg.in/fsnotify.v1失敗
cd GOPATH/src/
mkdir -p gopkg.in/fsnotify.v1
cd gopkg.in/fsnotify.v1
git clone https://github.com/go-fsnotify/fsnotify.git ./
下載gopkg.in/yaml.v2失敗
cd GOPATH/src/
mkdir -p gopkg.in/yaml.v2
cd gopkg.in/yaml.v2
git clone https://github.com/go-yaml/yaml.git ./
下載gopkg.in/check.v1失敗
cd GOPATH/src/
mkdir -p gopkg.in/check.v1
cd gopkg.in/check.v1
git clone https://github.com/go-check/check.git ./
下載golang.org/x/crypto/bcrypt失敗
cd GOPATH/src/
mkdir -p golang.org/x/crypto/
cd golang.org/x/crypto
git clone https://github.com/golang/crypto.git ./

cd GOPATH/src/github.com/docker/docker
./hack/make.sh binary


缺少code.google.com/p/gosqlite/sqlite3
cd GOPATH/src/
mkdir -p code.google.com/p/gosqlite/sqlite3
cd code.google.com/p/gosqlite/sqlite3
git clone https://github.com/mattn/go-sqlite3.git ./

btrfs錯誤
yum install btrfs-progs
wget https://www.kernel.org/pub/linux/kernel/people/mason/btrfs-progs/btrfs-progs-v3.16.tar.gz
tar xzf btrfs-progs-v3.16.tar.gz
cd btrfs-progs-v3.16
rm -fr Documentation/ tests/
cd ..
mv btrfs-progs-v3.16 /usr/include/btrfs

libdevmapper.h錯誤
git clone -b v2_02_103 https://git.fedorahosted.org/git/lvm2.git /usr/local/lvm2
cd /usr/local/lvm2
./configure
make device-mapper
make install_device-mapper

centos 6 編譯 docker

相關文章

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.