catalog / docker.io/library/mongo / criteria

mongo — validation criteria

Per-image acceptance criteria for the docker.io/library/mongo profile (the official MongoDB image). Validated against …@sha256:3ce3de7f… (tag 8.0), derived by drop-test against MongoDB's default (root-then-drop) invocation. The default runs on the full Docker default cap set; this profile trims it 14 → 2.

Representative workload / correctness check

profiles/workloads/mongo.sh — a mongosh write/read round-trip (insertOne, countDocuments, findOne read-back, drop), mirroring the official docker-library mongo-basics test shape under the unauthenticated default invocation. The drop-test correctness check additionally asserts mongod runs as the non-root mongodb user (uid 999): the redis/mariadb sharp edge — a workload-only check passes even when the privilege drop silently failed, so the uid assert is mandatory for any re-derivation.

capabilities — derived by drop-test

filesystem — derived by drop-test

Scope (run_config + out-of-band conditions)