The MediaWiki-Docker setup uses a .env file with environment variables to be used by Docker, including the initial username & password to use when creating a wiki admin user.
If this is not subsequently removed from the file, it will be exposed to the web (or at least local network) at /w/.env, like this:
MW_DOCKER_PORT=8080 MW_SCRIPT_PATH=/w MW_SERVER=http://localhost:8080 MEDIAWIKI_USER=Admin MEDIAWIKI_PASSWORD=dockerpass XDEBUG_CONFIG='' MW_DOCKER_UID=502 MW_DOCKER_GID=20
Recommend either finding a one-time way to save and pass that info, or forbidding it from access to the web.