No, only supported versions such as CentOS 7, CentOS 8 (stream), or CentOS 9 (stream) can run Docker. Also, make sure the centos-extras repository is enabled. If it is disabled, enable it again.