CentOS 6 compiled Docker

Source: Internet
Author: User
Tags docker centos

Docker CentOS Compilation
Download the latest source code to directory: Gopath/src/github.com/docker
CD Gopath/src/github.com/docker/docker
Go get-v ...


Download Golang.org/x/net/websocket failed
CD gopath/src/
Mkdir-p golang.org/x/net/
CD golang.org/x/net
git clone https://github.com/golang/net.git.
Download GOPKG.IN/FSNOTIFY.V1 failed
CD gopath/src/
Mkdir-p GOPKG.IN/FSNOTIFY.V1
CD GOPKG.IN/FSNOTIFY.V1
git clone https://github.com/go-fsnotify/fsnotify.git.
Download Gopkg.in/yaml.v2 failed
CD gopath/src/
Mkdir-p Gopkg.in/yaml.v2
CD Gopkg.in/yaml.v2
git clone https://github.com/go-yaml/yaml.git.
Download GOPKG.IN/CHECK.V1 failed
CD gopath/src/
Mkdir-p GOPKG.IN/CHECK.V1
CD GOPKG.IN/CHECK.V1
git clone https://github.com/go-check/check.git.
Download Golang.org/x/crypto/bcrypt failed
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


Missing 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 Error
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 Error
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 compiled Docker

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

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.