Install Docker CE Binary on CentOS

Q

How to install Docker CE (Community Edition) on CentOS as binary packages?

✍: FYIcenter.com

A

If you have trouble installing Docker CE with the YUM tool, you can install it as binary packages.

1. Verify OS, Kernel and Architecture:

fyicenter$ hostnamectl
  Operating System: CentOS Linux 7 (Core)
            Kernel: Linux 3.10.0-693.5.2.el7.x86_64
      Architecture: x86-64

2. Download the binary package from https://download.docker.com/linux/static/stable/.

Click "x86-64", which matches your system Architecture.
Download "docker-20.10.8.tgz"
Download "docker-18.06.3-ce.tgz"

3. Try the Docker CE 18 version:

fyicenter$ mkdir docker18 
fyicenter$ cd docker18 
fyicenter$ tar xzvf ../docker-18.06.3-ce.tgz

fyicenter$ ./docker/docker --version 
  Docker version 18.06.3-ce, build d7080c1

fyicenter$ ./docker/dockerd --version 
  Docker version 18.06.3-ce, build d7080c1

fyicenter$ ./docker-containerd --version 
  containerd github.com/containerd/containerd v1.1.2 ...

4. Try the Docker 20 version:

fyicenter$ mkdir docker20
fyicenter$ cd docker20
fyicenter$ tar xzvf ../docker-20.10.7.tgz

fyicenter$ ./docker/docker --version 
  Docker version 20.10.7, build f0df350

fyicenter$ ./docker/dockerd --version 
  Docker version 20.10.7, build b0f5bc3

fyicenter$ ./containerd --version 
  containerd github.com/containerd/containerd v1.4.6 

Note that the Docker CE 18 version uses "docker-containerd" instead of "containerd" command.

By the way, these binary versions work also on CentOS 8 systems, if the Architecture is "x86-64".

 

Starting Docker Daemon on CentOS

Install Docker CE on CentOS with YUM

Install Docker CE on CentOS

⇑⇑ Docker Container Platform - Tutorials

2023-03-17, 1064🔥, 0💬