# docker-library/mongo

Docker Official Image packaging for MongoDB

Repository: https://github.com/docker-library/mongo
Canonical: https://ross.abutalabs.com/products/docker-library-mongo
Homepage: https://www.mongodb.org/
Language: Shell
License: Apache-2.0
License Family: permissive
Last push: 2026-08-11T17:16:46+00:00

## Health v2 (maintenance only)
Score: 76/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 97, release rhythm 35, longevity 100
- inputs: {"age_days": 4488, "days_push": 22, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1076, forks 658 (observed 2026-08-28T04:03:29.451822+00:00)

## What it is
The Docker Official Image packaging repository for MongoDB, containing the build scripts and Dockerfiles that produce the `mongo` images on Docker Hub. It is maintained by the Docker Community, not MongoDB upstream.

## Use cases
- run mongodb in a docker container
- spin up a local mongo database for development
- deploy mongodb with docker compose
- get an official mongo container image
- self-host a document database quickly

## When to choose
- you want a trusted, community-maintained MongoDB container image
- you need a quick local or self-hosted MongoDB instance for development or testing
- you want reproducible MongoDB deployments via Docker

## When to avoid
- you need the MongoDB server source code itself - use the upstream mongodb/mongo repo
- you want a fully managed database - consider MongoDB Atlas instead
- you need help with MongoDB usage - consult MongoDB documentation rather than this packaging repo

## Facets
- artifact type: infra-config
- maturity: stable
- function: database, container-runtime, developer-tools
- domain: databases, developer-tools, self-hosted
- platform: self-hosted, cloud
- tags: docker-official-image, mongodb, nosql, document-database, container-image, containers, docker, linux

## Member repositories
- docker-library/mongo (main) score 76

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:29.451822+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T06:53:21.771299+00:00, confidence not recorded.
  - readme: https://github.com/docker-library/mongo (fetched 2026-08-28T04:03:29.451822+00:00, sha 7b1d0021d141)
  - homepage: https://www.mongodb.org/ (fetched 2026-08-29T12:54:59.839563+00:00, sha e13256017ef5)
  - site_page: https://www.mongodb.com/docs (fetched 2026-08-29T12:54:59.844090+00:00, sha c31b6c012546)
  - site_page: https://www.mongodb.com/docs/atlas/architecture/current/solutions-library (fetched 2026-08-29T12:54:59.847398+00:00, sha 0dfd723aadd5)
  - site_page: https://www.mongodb.com/books (fetched 2026-08-29T12:54:59.845733+00:00, sha 70abdeaa2294)
  - site_page: https://www.mongodb.com/company/newsroom (fetched 2026-08-29T12:54:59.848954+00:00, sha e3f69e7b7c0c)
  - site_page: https://www.mongodb.com/company/partners (fetched 2026-08-29T12:54:59.850567+00:00, sha 342527daf5e8)
  - site_page: https://www.mongodb.com/company (fetched 2026-08-29T12:54:59.852458+00:00, sha d34f6c0cb4f8)
  - site_page: https://www.mongodb.com/pricing (fetched 2026-08-29T12:54:59.854184+00:00, sha 94b4db771046)
- Data as of 2026-08-30T08:39:29.467469+00:00.
