Backdocker.io/mongodb/mongodb-community-server
docker.io

docker.io/mongodb/mongodb-community-server:8.2.1-rc1-ubi8

The Official MongoDB Community Server

Size
387.98 MB
Local pulls
7
Upstream pulls
26,261,503
Synced at
2026-08-15 08:06:13

China image

registry.cn-global.starbucket.com.cn/starbucket/docker.io/mongodb/mongodb-community-server:8.2.1-rc1-ubi8

Source image

docker.io/mongodb/mongodb-community-server:8.2.1-rc1-ubi8

Image info

Image ID
sha256:78ca1472b7855255b8adcc0d23165bae19ab83d46c6b2e040b5676bb1ff5d142
Image tag
8.2.1-rc1-ubi8
Image size
387.98 MB
Platform
linux/arm64/v8
Registry
docker.io
CMD
mongod
Entrypoint
python3 /usr/local/bin/docker-entrypoint.py
Working dir
/
User
mongod
StopSignal
Created
2025-10-24T06:58:28.306Z

Exposed ports 1

  • 27017/tcp

Volumes

  • /data/db
  • /data/configdb

Environment 3

PATH/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
containeroci
HOME/data/db

Labels 22

cpecpe:/a:redhat:enterprise_linux:8::appstream
urlhttps://catalog.redhat.com/en/search?searchType=containers
nameMongoDB Standalone
vendorMongoDB
release1761020747
summaryMongoDB Standalone Container
vcs-refca68fca7d64d3ffe675f283a23c241f3279511c7
version8.2.1-rc1
vcs-typegit
build-date2025-10-21T04:31:21Z
maintainersupport@mongodb.com
descriptionContainer configured with a standalone instance of MongoDB
architectureaarch64
io.openshift.tagsbase rhel8
distribution-scopepublic
io.buildah.version1.41.4
io.k8s.descriptionThe Universal Base Image is designed and engineered to be the base layer for all of your containerized applications, middleware and utilities. This base image is freely redistributable, but Red Hat only supports Red Hat technologies through subscriptions for Red Hat products. This image is maintained by Red Hat and updated regularly.
io.k8s.display-nameRed Hat Universal Base Image 8
com.redhat.componentubi8-container
com.redhat.license_termshttps://www.redhat.com/en/about/red-hat-end-user-license-agreements#UBI
io.openshift.expose-services
org.opencontainers.image.revisionca68fca7d64d3ffe675f283a23c241f3279511c7

Pull commands

Docker
docker pull registry.cn-global.starbucket.com.cn/starbucket/docker.io/mongodb/mongodb-community-server:8.2.1-rc1-ubi8
docker tag registry.cn-global.starbucket.com.cn/starbucket/docker.io/mongodb/mongodb-community-server:8.2.1-rc1-ubi8 docker.io/mongodb/mongodb-community-server:8.2.1-rc1-ubi8
Containerd
ctr images pull registry.cn-global.starbucket.com.cn/starbucket/docker.io/mongodb/mongodb-community-server:8.2.1-rc1-ubi8
ctr images tag registry.cn-global.starbucket.com.cn/starbucket/docker.io/mongodb/mongodb-community-server:8.2.1-rc1-ubi8 docker.io/mongodb/mongodb-community-server:8.2.1-rc1-ubi8
YAML quick replace
sed -i 's#docker.io/mongodb/mongodb-community-server:8.2.1-rc1-ubi8#registry.cn-global.starbucket.com.cn/starbucket/docker.io/mongodb/mongodb-community-server:8.2.1-rc1-ubi8#' deployment.yaml
Global registry mirror
Docker

Write Docker daemon.json so registry-mirrors points to this site, then restart Docker

sudo mkdir -p /etc/docker
sudo tee /etc/docker/daemon.json <<'EOF'
{
  "registry-mirrors": ["https://registry.cn-global.starbucket.com.cn"]
}
EOF
sudo systemctl daemon-reload
sudo systemctl restart docker
Containerd

Write containerd certs.d hosts.toml so docker.io pulls via this site, then restart containerd

sudo mkdir -p /etc/containerd/certs.d/docker.io
sudo tee /etc/containerd/certs.d/docker.io/hosts.toml <<'EOF'
server = "https://docker.io"

[host."https://registry.cn-global.starbucket.com.cn"]
  capabilities = ["pull", "resolve"]
EOF
sudo mkdir -p /etc/containerd
if [ ! -f /etc/containerd/config.toml ]; then
  sudo containerd config default | sudo tee /etc/containerd/config.toml >/dev/null
fi
sudo sed -i 's#config_path = ""#config_path = "/etc/containerd/certs.d"#' /etc/containerd/config.toml
sudo systemctl restart containerd

Build history 37

2025-10-24 06:21:44empty layer
CMD ["mongod"]
2025-10-24 06:21:44empty layer
EXPOSE map[27017/tcp:{}]
2025-10-24 06:21:44empty layer
ENTRYPOINT ["python3" "/usr/local/bin/docker-entrypoint.py"]
2025-10-24 06:21:44empty layer
USER mongod
2025-10-24 06:21:44empty layer
ENV HOME=/data/db
2025-10-24 06:21:44empty layer
VOLUME [/data/db /data/configdb]
2025-10-24 06:21:44
RUN |2 HOST_UID= HOST_GID= /bin/sh -c mkdir -p /data/db /data/configdb     && chown -R mongod:mongod /data/db /data/configdb # buildkit
2025-10-24 06:21:44
RUN |2 HOST_UID= HOST_GID= /bin/sh -c if [ -n "${HOST_UID}" ]; then usermod -u ${HOST_UID} mongod; fi;     if [ -n "${HOST_GID}" ]; then groupmod -g ${HOST_GID} mongod; fi # buildkit