MongoDB 6.0.4 cluster on docker installation issue

Did you ever figure this out?

We’re on MongoDB 8 now, and I still get this same error on a new mongo image with a config file as simple as:

replication:
 replSetName: "cfg0"
sharding:
  clusterRole: configsvr