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

docker.io/mongodb/mongodb-community-server:8.0.6-ubi8

The Official MongoDB Community Server

Size
363.01 MB
Local pulls
7
Upstream pulls
26,261,503
Synced at
2026-08-15 08:05:52

China image

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

Source image

docker.io/mongodb/mongodb-community-server:8.0.6-ubi8

Image info

Image ID
sha256:b7acc44a6932e748e5b2e60d89d4913639cd4f27f6215202fb17dd7157d317e4
Image tag
8.0.6-ubi8
Image size
363.01 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-07-11T07:57:06.573Z

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 20

urlhttps://www.redhat.com
nameMongoDB Standalone
vendorMongoDB
release1752069635
summaryMongoDB Standalone Container
vcs-ref6894a3fba76acfb2bcf2647e504d4e32f8f32cfc
version8.0.6
vcs-typegit
build-date2025-07-09T14:06:14
maintainersupport@mongodb.com
descriptionContainer configured with a standalone instance of MongoDB
architectureaarch64
io.openshift.tagsbase rhel8
distribution-scopepublic
io.buildah.version1.41.0-dev
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

Pull commands

Docker
docker pull registry.cn-global.starbucket.com.cn/starbucket/docker.io/mongodb/mongodb-community-server:8.0.6-ubi8
docker tag registry.cn-global.starbucket.com.cn/starbucket/docker.io/mongodb/mongodb-community-server:8.0.6-ubi8 docker.io/mongodb/mongodb-community-server:8.0.6-ubi8
Containerd
ctr images pull registry.cn-global.starbucket.com.cn/starbucket/docker.io/mongodb/mongodb-community-server:8.0.6-ubi8
ctr images tag registry.cn-global.starbucket.com.cn/starbucket/docker.io/mongodb/mongodb-community-server:8.0.6-ubi8 docker.io/mongodb/mongodb-community-server:8.0.6-ubi8
YAML quick replace
sed -i 's#docker.io/mongodb/mongodb-community-server:8.0.6-ubi8#registry.cn-global.starbucket.com.cn/starbucket/docker.io/mongodb/mongodb-community-server:8.0.6-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 34

2025-07-11 06:18:24empty layer
CMD ["mongod"]
2025-07-11 06:18:24empty layer
EXPOSE map[27017/tcp:{}]
2025-07-11 06:18:24empty layer
ENTRYPOINT ["python3" "/usr/local/bin/docker-entrypoint.py"]
2025-07-11 06:18:24empty layer
USER mongod
2025-07-11 06:18:24empty layer
ENV HOME=/data/db
2025-07-11 06:18:24empty layer
VOLUME [/data/db /data/configdb]
2025-07-11 06:18:24
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-07-11 06:18:23
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