First, To install Docker Engine, you need a maintained version of
CentOS 7 or 8.

Archived versions aren’t supported or tested.