OpenShift is not deployed as a single Docker container in production.
For local/lab testing, use OpenShift Local (CRC), which runs a single-node OpenShift environment in a VM.