Preparing the installation package
1. Download Docker
Docker supports the following versions of Ubuntu system
Artful 17.10 (Docker CE 17.11 Edge)
Zesty 17.04
Xenial 16.04 (LTS)
Trusty 14.04 (LTS)
View Ubuntu system version: sudo lsb_release–a
Download the corresponding Docker installation package: https://apt.dockerproject.org/repo/pool/main/d/docker-engine/
2. Download Docker-compose
Download the corresponding binaries from GitHub:
Https://github.com/docker/compose/releases
3. Download dependencies
1) Download Libtool-ltdl
: http://archive.ubuntu.com/ubuntu/pool/main/libt/libtool/
2) Download Libsystemd-journal0
: https://pkgs.org/download/libsystemd-journal0
Installation
Upload the required installation package to the target server (SCP or SFTP command)
Installing Docker and related dependencies:
Execution: Dpkg-i *.deb
View Docker versions: Docker version
Install Docker-compose:
Rename the downloaded binaries, move to/usr/local/bin, and add executable permissions
MV Docker-compose-linux-x86_64/usr/local/bin/docker-compose
sudo chmod +x/usr/local/bin/docker-compose
View version: Docker-compose–v
Ubuntu 14.04 offline installation Docker compose