Docker CE for CentOS requires a maintained version of CentOS 7. Although installation may work on archived versions, they are neither tested nor supported.
There are three methods to install Docker CE on CentOS:
- Via Docker repositories
- Downloading and manually installing the RPMs
- Running Docker's convenience scripts
The most common method used is via Docker repositories, so let's begin there.