Compiling docker<v1.9.0> source and primary installation

Source: Internet
Author: User

This article mainly describes how to compile and install the Docker service on the Power CPU processor. Most of the time, we need to compile the Docker source code, sometimes due to their own processor does not have a corresponding installation package, and sometimes due to the current new version of the release, the following provides the steps of the Docker compilation and installation methods for your reference.

1. Compiling the Environment
POWER8 processor, Ppc64le
Ubuntu14.04
2. Compiling
Download the latest source code
  git clone https://github.com/docker/docker
Reference to Redhat's compilation script
  Https://github.com/bpradipt/docker-build
Another article
  Http://www.ibm.com/developerworks/library/d-docker-on-power-linux-platform

3. Start Docker Daemon
Use upstart hosting under Ubuntu
Copy the docker/contrib/init/upstart/docker.conf file to the/etc/init/
Create a Docker execution file linked to/usr/bin/docker
To start Docker using the upstart command

[Email protected]:/home/opuser# start Docker
Docker start/running, Process 20880
[Email protected]:/home/opuser# initctl List
......
Docker start/running, Process 20880
......
[Email protected]:/home/opuser# pstree
Init─┬─cron
├─dbus-daemon
├─dhclient
├─docker───6*[{docker}]
├─7*[getty]

4. Make Ubuntu14.04 image
5. Create a private mirrored warehouse

Compiling docker<v1.9.0> source and primary installation

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.