Documentation on go2docs in upgrading graylog in docker mentions using Graylog:7.0 with MongoDB version mongo:6.0.14-jammy where as the minimum mongodb version is now also 7.0.0 as based on Graylog2/graylog2-server#23448 & on current change log.
Upgrading to or installing Graylog 7 following this documentation will fail using a mongodb:6 image but does present good logs in graylog container logs clearly stating the issue.