Ubuntu Installation Docker-ce

Source: Internet
Author: User

The Docker Community Edition (CE)/docker Community Edition is ideal for developers and small teams who want to start using Docker and try to use container-based applications. There are 2 versions of the Docker CE: stable and Edge:

    • Stable: Provide stable updates every quarter
    • Edge: New features every one months

The following is the official website installation documentation, related to various operating system installation methods

https://docs.docker.com/engine/installation/

In this paper, the latest version of the Dokcer CE Stable is installed on ubuntu14.04 and is run as root.

===============================================

0x01 Update

There is always nothing wrong with updating.

Apt-get Update

0x02 install DOCKER-CE based on the Deb installation package

Ubuntu Docker-ce Image:

https://download.docker.com/linux/ubuntu/dists/

Here I am choosing 14.04 (trusty) The latest version dokcer CE Stable

https://download.docker.com/linux/ubuntu/dists/trusty/pool/stable/amd64/

The latest in this is the 2017-09-27 01:48 docker-ce_17.09.0~ce-0~ubuntu_amd64.deb.

Download and place in Ubuntu directory, run

Dpkg-i docker-ce_17. 09.0~ce-0~ubuntu_amd64.deb

0x03 Libltdl7 and Libsystemd-journal0 dependency issues

When installing the error is as follows:

Dpkg:dependency problems prevent configuration of docker-Ce:docker-ce depends on LIBLTDL7 (>=2.4.2); However:package LIBLTDL7 is not installed. Docker-ce depends on libsystemd-journal0 (>=201); However:package libsystemd-journal0 isn't installed.dpkg:error processing package Docker-ce (--Install): Dependency Problems-leaving unconfiguredprocessing triggers forUreadahead (0.100.0- -) ... ureadahead'll be reprofiled on next rebootprocessing triggers for Mans-db (2.6.7.1-1ubuntu1) ... Errors were encountered whileProcessing:docker-ce

Install LIBLTDL7 and Libsystemd-journal0 first

Install -y libltdl7 libsystemd-journal0

Install DOCKER-CE after installation

After installation, run docker-v to get

17.09. 0-ce, build afdb6d4

Ubuntu Installation Docker-ce

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.