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