Namespace
library
Image / Tag
mongo:5.0-rc
Content Digest
sha256:2a3135f00abc7a936da056c1c3a7f56dca44bccaeb4c0fa46930a2e794c8ba13
Details
Created

2025-01-15 17:01:19 UTC

Size

251 MB

Content Digest
Labels
  • org.opencontainers.image.ref.name
    ubuntu
  • org.opencontainers.image.version
    20.04

Environment
GOSU_VERSION

1.17

HOME

/data/db

JSYAML_CHECKSUM

662e32319bdd378e91f67578e56a34954b0a2e33aca11d70ab9f4826af24b941

JSYAML_VERSION

3.13.1

MONGO_MAJOR

testing

MONGO_PACKAGE

mongodb-org

MONGO_REPO

repo.mongodb.org

MONGO_VERSION

5.0.31~rc1

PATH

/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin


Layers

[#000] sha256:d9802f032d6798e2086607424bfe88cb8ec1d6f116e11cd99592dcaf261e9cd2 - 10.43% (26.2 MB)

[#001] sha256:b9f7aca2b377af02bdd5742f92e167772844de692510be1fa644ddf2512ac477 - 0.0% (1.74 KB)

[#002] sha256:06e3bbf91afcee6676662b2286953084c24da38e1cfc3eab707214b29b6c4991 - 1.17% (2.95 MB)

[#003] sha256:e2c0ab8e9bd536a901310dfc209d1065cee3a07ea11dadf97a9a7479e711b769 - 0.41% (1.04 MB)

[#004] sha256:f3add133aed1c010083fc8fa34f4a76826b0be7a62e75c9da7b102b9094b39a0 - 0.0% (116 Bytes)

[#005] sha256:8aff674c2cb6c0cfac8d72ec8ca26744fe88a356563888b2c209f656f5a3bd29 - 0.0% (261 Bytes)

[#006] sha256:b2a814c5d40e3934b49a05c6c6efaeba6805f956884962c911385ca9a5e61efd - 0.0% (261 Bytes)

[#007] sha256:8896cd2d0144955fad99bda31c72ce6b7c31f549b9a288f4c1fe5620f9abcf00 - 87.98% (221 MB)

[#008] sha256:8492a4b6e74787ce7cc572abdab1e515def1adb502e6c6815776a54234c955a3 - 0.0% (4.88 KB)


History
2024-10-11 03:38:25 UTC

/bin/sh -c #(nop) ARG RELEASE

2024-10-11 03:38:25 UTC

/bin/sh -c #(nop) ARG LAUNCHPAD_BUILD_ARCH

2024-10-11 03:38:25 UTC

/bin/sh -c #(nop) LABEL org.opencontainers.image.ref.name=ubuntu

2024-10-11 03:38:25 UTC

/bin/sh -c #(nop) LABEL org.opencontainers.image.version=20.04

2024-10-11 03:38:27 UTC

/bin/sh -c #(nop) ADD file:7486147a645d8835a5181c79f00a3606c6b714c83bcbfcd8862221eb14690f9e in /

2024-10-11 03:38:27 UTC

/bin/sh -c #(nop) CMD ["/bin/bash"]

2025-01-15 17:01:19 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; groupadd --gid 999 --system mongodb; useradd --uid 999 --system --gid mongodb --home-dir /data/db mongodb; mkdir -p /data/db /data/configdb; chown -R mongodb:mongodb /data/db /data/configdb # buildkit

2025-01-15 17:01:19 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; apt-get update; apt-get install -y --no-install-recommends ca-certificates jq numactl procps ; rm -rf /var/lib/apt/lists/* # buildkit

2025-01-15 17:01:19 UTC (buildkit.dockerfile.v0)

ENV GOSU_VERSION=1.17

2025-01-15 17:01:19 UTC (buildkit.dockerfile.v0)

ENV JSYAML_VERSION=3.13.1

2025-01-15 17:01:19 UTC (buildkit.dockerfile.v0)

ENV JSYAML_CHECKSUM=662e32319bdd378e91f67578e56a34954b0a2e33aca11d70ab9f4826af24b941

2025-01-15 17:01:19 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; savedAptMark="$(apt-mark showmanual)"; apt-get update; apt-get install -y --no-install-recommends gnupg wget ; rm -rf /var/lib/apt/lists/*; dpkgArch="$(dpkg --print-architecture | awk -F- '{ print $NF }')"; wget -O /usr/local/bin/gosu "https://github.com/tianon/gosu/releases/download/$GOSU_VERSION/gosu-$dpkgArch"; wget -O /usr/local/bin/gosu.asc "https://github.com/tianon/gosu/releases/download/$GOSU_VERSION/gosu-$dpkgArch.asc"; export GNUPGHOME="$(mktemp -d)"; gpg --batch --keyserver hkps://keys.openpgp.org --recv-keys B42F6819007F00F88E364FD4036A9C25BF357DD4; gpg --batch --verify /usr/local/bin/gosu.asc /usr/local/bin/gosu; gpgconf --kill all; rm -rf "$GNUPGHOME" /usr/local/bin/gosu.asc; mkdir -p /opt/js-yaml/; wget -O /opt/js-yaml/js-yaml.tgz https://registry.npmjs.org/js-yaml/-/js-yaml-${JSYAML_VERSION}.tgz; echo "$JSYAML_CHECKSUM */opt/js-yaml/js-yaml.tgz" | sha256sum -c -; tar -xz --strip-components=1 -f /opt/js-yaml/js-yaml.tgz -C /opt/js-yaml package/dist/js-yaml.js package/package.json; rm /opt/js-yaml/js-yaml.tgz; ln -s /opt/js-yaml/dist/js-yaml.js /js-yaml.js; export GNUPGHOME="$(mktemp -d)"; wget -O KEYS 'https://pgp.mongodb.com/server-dev.asc' 'https://pgp.mongodb.com/server-5.0.asc'; gpg --batch --import KEYS; mkdir -p /etc/apt/keyrings; gpg --batch --export --armor '28DE23AF08040FB24C33F36381B0EBBBADCEA95C' 'F5679A222C647C87527C2F8CB00A0BD1E2C63C11' > /etc/apt/keyrings/mongodb.asc; gpgconf --kill all; rm -rf "$GNUPGHOME" KEYS; apt-mark auto '.*' > /dev/null; apt-mark manual $savedAptMark > /dev/null; apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; chmod +x /usr/local/bin/gosu; gosu --version; gosu nobody true # buildkit

2025-01-15 17:01:19 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c mkdir /docker-entrypoint-initdb.d # buildkit

2025-01-15 17:01:19 UTC (buildkit.dockerfile.v0)

ARG MONGO_PACKAGE=mongodb-org

2025-01-15 17:01:19 UTC (buildkit.dockerfile.v0)

ARG MONGO_REPO=repo.mongodb.org

2025-01-15 17:01:19 UTC (buildkit.dockerfile.v0)

ENV MONGO_PACKAGE=mongodb-org MONGO_REPO=repo.mongodb.org

2025-01-15 17:01:19 UTC (buildkit.dockerfile.v0)

ENV MONGO_MAJOR=testing

2025-01-15 17:01:19 UTC (buildkit.dockerfile.v0)

RUN |2 MONGO_PACKAGE=mongodb-org MONGO_REPO=repo.mongodb.org /bin/sh -c echo "deb [ signed-by=/etc/apt/keyrings/mongodb.asc ] http://$MONGO_REPO/apt/ubuntu focal/${MONGO_PACKAGE%-unstable}/$MONGO_MAJOR multiverse" | tee "/etc/apt/sources.list.d/${MONGO_PACKAGE%-unstable}.list" # buildkit

2025-01-15 17:01:19 UTC (buildkit.dockerfile.v0)

RUN |2 MONGO_PACKAGE=mongodb-org MONGO_REPO=repo.mongodb.org /bin/sh -c echo "deb [ signed-by=/etc/apt/keyrings/mongodb.asc ] http://$MONGO_REPO/apt/ubuntu focal/${MONGO_PACKAGE%-unstable}/5.0 multiverse" | tee "/etc/apt/sources.list.d/mongodb-5.0.list" # buildkit

2025-01-15 17:01:19 UTC (buildkit.dockerfile.v0)

ENV MONGO_VERSION=5.0.31~rc1

2025-01-15 17:01:19 UTC (buildkit.dockerfile.v0)

RUN |2 MONGO_PACKAGE=mongodb-org MONGO_REPO=repo.mongodb.org /bin/sh -c set -x && export DEBIAN_FRONTEND=noninteractive && apt-get update && apt-get install -y ${MONGO_PACKAGE}=$MONGO_VERSION ${MONGO_PACKAGE}-server=$MONGO_VERSION ${MONGO_PACKAGE}-shell=$MONGO_VERSION ${MONGO_PACKAGE}-mongos=$MONGO_VERSION ${MONGO_PACKAGE}-tools=$MONGO_VERSION && rm -rf /var/lib/apt/lists/* && rm -rf /var/lib/mongodb && mv /etc/mongod.conf /etc/mongod.conf.orig # buildkit

2025-01-15 17:01:19 UTC (buildkit.dockerfile.v0)

VOLUME [/data/db /data/configdb]

2025-01-15 17:01:19 UTC (buildkit.dockerfile.v0)

ENV HOME=/data/db

2025-01-15 17:01:19 UTC (buildkit.dockerfile.v0)

COPY docker-entrypoint.sh /usr/local/bin/ # buildkit

2025-01-15 17:01:19 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["docker-entrypoint.sh"]

2025-01-15 17:01:19 UTC (buildkit.dockerfile.v0)

EXPOSE map[27017/tcp:{}]

2025-01-15 17:01:19 UTC (buildkit.dockerfile.v0)

CMD ["mongod"]

Details
Created

2025-01-22 20:37:35 UTC

Size

2.62 GB

Content Digest
Environment
MONGO_DOWNLOAD_SHA256

598aed12e48cab241ef048580d624fbbc78c24b947e56e5702e9a8cedba0476d

MONGO_DOWNLOAD_URL

https://fastdl.mongodb.org/windows/mongodb-windows-x86_64-5.0.31-rc1-signed.msi

MONGO_VERSION

5.0.31-rc1


Layers

[#000] sha256:1317fe15185685e9cd27f7542cd96f4847343401288a8b6798273a4ac60844eb - 78.73% (2.06 GB)

[#001] sha256:19fa0da9c657652b5d0879f62221964dd2e8f7c37691ba99bce37494e109b27e - 10.13% (272 MB)

[#002] sha256:d3b876157eb5a8f200981998525e899c92d00b22c31b71cc56614234428ac101 - 0.0% (1.26 KB)

[#003] sha256:401e9d903ab98427dae08ba548537034293956409d97613a4480437544e03ca8 - 0.0% (1.27 KB)

[#004] sha256:5204581cdd408888ed4487b8a2fc7629efbd531614996bd267cf8bc0d05ca960 - 0.0% (1.26 KB)

[#005] sha256:0fca73cb132fcf9ed5e959056bb243d94ecb6c83e427223fac49e67f021348b1 - 0.0% (1.29 KB)

[#006] sha256:c913dc6ac7b7352808873643970cf7be54744d06ec4db573bd46abded66b2fe3 - 11.14% (299 MB)

[#007] sha256:417c5a86d526d532d02a84c96edcab4a5c2d8108afe911e95f46939d27f6e4d6 - 0.0% (1.34 KB)

[#008] sha256:ffed9fc9b7470363dc2919a59490a85ff68a319899902a453679b37703502bf9 - 0.0% (1.29 KB)

[#009] sha256:426923d45b25b39c77df24de02549ef3afd4c7df14aca9723d20cca6ebf6daeb - 0.0% (1.26 KB)


History
2024-12-08 22:41:37 UTC

Apply image 10.0.26100.2605

2025-01-13 03:08:16 UTC

Install update 10.0.26100.2894

2025-01-22 20:36:36 UTC

powershell -Command $ErrorActionPreference = 'Stop'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop';]

2025-01-22 20:36:38 UTC

powershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_VERSION=5.0.31-rc1

2025-01-22 20:36:39 UTC

powershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_URL=https://fastdl.mongodb.org/windows/mongodb-windows-x86_64-5.0.31-rc1-signed.msi

2025-01-22 20:36:41 UTC

powershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_SHA256=598aed12e48cab241ef048580d624fbbc78c24b947e56e5702e9a8cedba0476d

2025-01-22 20:37:32 UTC

powershell -Command $ErrorActionPreference = 'Stop'; Write-Host ('Downloading {0} ...' -f $env:MONGO_DOWNLOAD_URL); [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; (New-Object System.Net.WebClient).DownloadFile($env:MONGO_DOWNLOAD_URL, 'mongo.msi'); if ($env:MONGO_DOWNLOAD_SHA256) { Write-Host ('Verifying sha256 ({0}) ...' -f $env:MONGO_DOWNLOAD_SHA256); if ((Get-FileHash mongo.msi -Algorithm sha256).Hash -ne $env:MONGO_DOWNLOAD_SHA256) { Write-Host 'FAILED!'; exit 1; }; }; Write-Host 'Installing ...'; Start-Process msiexec -Wait -ArgumentList @( '/i', 'mongo.msi', '/quiet', '/qn', '/l*v', 'install.log', 'INSTALLLOCATION=C:\mongodb', 'ADDLOCAL=Client,MiscellaneousTools,Router,ServerNoService' ); if (-Not (Test-Path C:\mongodb\bin\mongod.exe -PathType Leaf)) { Write-Host 'Installer failed!'; Get-Content install.log; exit 1; }; Remove-Item install.log; $env:PATH = 'C:\mongodb\bin;' + $env:PATH; [Environment]::SetEnvironmentVariable('PATH', $env:PATH, [EnvironmentVariableTarget]::Machine); Write-Host 'Verifying install ...'; Write-Host ' mongo --version'; mongo --version; Write-Host ' mongod --version'; mongod --version; Write-Host 'Removing ...'; Remove-Item C:\windows\installer\*.msi -Force; Remove-Item mongo.msi -Force; Write-Host 'Complete.';

2025-01-22 20:37:33 UTC

powershell -Command $ErrorActionPreference = 'Stop'; #(nop) VOLUME [C:\data\db C:\data\configdb]

2025-01-22 20:37:33 UTC

powershell -Command $ErrorActionPreference = 'Stop'; #(nop) EXPOSE 27017

2025-01-22 20:37:35 UTC

powershell -Command $ErrorActionPreference = 'Stop'; #(nop) CMD ["mongod" "--bind_ip_all"]

Details
Created

2025-01-16 17:34:05 UTC

Size

2.27 GB

Content Digest
Environment
MONGO_DOWNLOAD_SHA256

598aed12e48cab241ef048580d624fbbc78c24b947e56e5702e9a8cedba0476d

MONGO_DOWNLOAD_URL

https://fastdl.mongodb.org/windows/mongodb-windows-x86_64-5.0.31-rc1-signed.msi

MONGO_VERSION

5.0.31-rc1


Layers

[#000] sha256:803f4a9590cb9c635813cbd0ee89190f92d5fe4c7589711cf468879e42ce02ba - 70.63% (1.6 GB)

[#001] sha256:09e6adf68d473b439b895dbef289349826f793d13a35d136c1e4a98b09d23cd4 - 16.5% (383 MB)

[#002] sha256:77da04c85c4066ce2bafe042b54e64be2deda3b5c2091529d2a9f502bf95d533 - 0.0% (1.3 KB)

[#003] sha256:ae3afd05b7b0f7178f9c2b588c1f92620609107bdd0d0fa0696dfffa0b73bd32 - 0.0% (1.35 KB)

[#004] sha256:3c8b654c50762dadd003dfc0a335cbf837110432a355be6b3b9eb3b1762074d7 - 0.0% (1.26 KB)

[#005] sha256:b0d0346b6783141600cfe88220ea0d8bd972df175d8f074219d4e613152cf4b9 - 0.0% (1.37 KB)

[#006] sha256:eff18cac0b636ea6a5f289f9f06e8ed830656817098f6cf5fdda346bbd0d82ca - 12.87% (299 MB)

[#007] sha256:21545b80349d474a7ffbeb3c70d90462d01446150f5087d7263c8258cece0b57 - 0.0% (1.27 KB)

[#008] sha256:3b27a4bafa11dc605dd207b90fc852d20ffc0acb7e49e488c3bed0e64928f615 - 0.0% (1.27 KB)

[#009] sha256:4e4a1721bb933f8f2a23c090b00bfc6bfb1bb506106d7719edcfa191b522bc68 - 0.0% (1.26 KB)


History
2024-09-06 01:15:31 UTC

Apply image 10.0.17763.6293

2025-01-09 09:46:25 UTC

Install update 10.0.17763.6775

2025-01-16 17:32:34 UTC

powershell -Command $ErrorActionPreference = 'Stop'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop';]

2025-01-16 17:32:36 UTC

powershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_VERSION=5.0.31-rc1

2025-01-16 17:32:36 UTC

powershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_URL=https://fastdl.mongodb.org/windows/mongodb-windows-x86_64-5.0.31-rc1-signed.msi

2025-01-16 17:32:37 UTC

powershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_SHA256=598aed12e48cab241ef048580d624fbbc78c24b947e56e5702e9a8cedba0476d

2025-01-16 17:34:02 UTC

powershell -Command $ErrorActionPreference = 'Stop'; Write-Host ('Downloading {0} ...' -f $env:MONGO_DOWNLOAD_URL); [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; (New-Object System.Net.WebClient).DownloadFile($env:MONGO_DOWNLOAD_URL, 'mongo.msi'); if ($env:MONGO_DOWNLOAD_SHA256) { Write-Host ('Verifying sha256 ({0}) ...' -f $env:MONGO_DOWNLOAD_SHA256); if ((Get-FileHash mongo.msi -Algorithm sha256).Hash -ne $env:MONGO_DOWNLOAD_SHA256) { Write-Host 'FAILED!'; exit 1; }; }; Write-Host 'Installing ...'; Start-Process msiexec -Wait -ArgumentList @( '/i', 'mongo.msi', '/quiet', '/qn', '/l*v', 'install.log', 'INSTALLLOCATION=C:\mongodb', 'ADDLOCAL=Client,MiscellaneousTools,Router,ServerNoService' ); if (-Not (Test-Path C:\mongodb\bin\mongod.exe -PathType Leaf)) { Write-Host 'Installer failed!'; Get-Content install.log; exit 1; }; Remove-Item install.log; $env:PATH = 'C:\mongodb\bin;' + $env:PATH; [Environment]::SetEnvironmentVariable('PATH', $env:PATH, [EnvironmentVariableTarget]::Machine); Write-Host 'Verifying install ...'; Write-Host ' mongo --version'; mongo --version; Write-Host ' mongod --version'; mongod --version; Write-Host 'Removing ...'; Remove-Item C:\windows\installer\*.msi -Force; Remove-Item mongo.msi -Force; Write-Host 'Complete.';

2025-01-16 17:34:03 UTC

powershell -Command $ErrorActionPreference = 'Stop'; #(nop) VOLUME [C:\data\db C:\data\configdb]

2025-01-16 17:34:04 UTC

powershell -Command $ErrorActionPreference = 'Stop'; #(nop) EXPOSE 27017

2025-01-16 17:34:05 UTC

powershell -Command $ErrorActionPreference = 'Stop'; #(nop) CMD ["mongod" "--bind_ip_all"]

Details
Created

2025-01-16 17:31:00 UTC

Size

2.4 GB

Content Digest
Environment
MONGO_DOWNLOAD_SHA256

598aed12e48cab241ef048580d624fbbc78c24b947e56e5702e9a8cedba0476d

MONGO_DOWNLOAD_URL

https://fastdl.mongodb.org/windows/mongodb-windows-x86_64-5.0.31-rc1-signed.msi

MONGO_VERSION

5.0.31-rc1


Layers

[#000] sha256:2534953f34d35976fc44cd67bfdd39fdcd9e2eaae57ada0be53d5fb936cd3a0b - 56.76% (1.36 GB)

[#001] sha256:440cf16a6c1eb5c6c232aa5e54099878e9ddb01fb83b65139ec4e2618d1e00de - 31.06% (763 MB)

[#002] sha256:6907fffbf06a8f5b14a171e74f85423d3b7eb6b0c069a350b5c0faa532c1c13e - 0.0% (1.25 KB)

[#003] sha256:808733d612a25f33b075bdbaf22208a806c2ed87e2dd3cb53084f161635a6a89 - 0.0% (1.25 KB)

[#004] sha256:f64b75a30a8f415889826de204c0f6dd8002468cb9d42540f859e136d8d35e9e - 0.0% (1.25 KB)

[#005] sha256:b238b72cda2ae6509b1d09d69d403eb01f16f73f6138afe2c6fdb73dc74eb65d - 0.0% (1.25 KB)

[#006] sha256:3d5e386c0a401e8c450a0b76f792e4ae8943f19db7d14bd8ef194371f2940323 - 12.17% (299 MB)

[#007] sha256:d3fed372edd6c492f8a06a9c0850572e46c1ede40c73d0bac68d6d08ecfad7ad - 0.0% (1.25 KB)

[#008] sha256:12bf313a59f44849a93366f4a5ed1b63cb92ad4d231d09fd7ad1249a5cdedd52 - 0.0% (1.26 KB)

[#009] sha256:161a1eaab92742d535f80a9812e1349919e3b1eb9dd20db85a31008cb0a7e965 - 0.0% (1.25 KB)


History
2024-09-06 00:01:38 UTC

Apply image 10.0.20348.2700

2025-01-12 10:10:43 UTC

Install update 10.0.20348.3091

2025-01-16 17:30:14 UTC

powershell -Command $ErrorActionPreference = 'Stop'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop';]

2025-01-16 17:30:14 UTC

powershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_VERSION=5.0.31-rc1

2025-01-16 17:30:15 UTC

powershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_URL=https://fastdl.mongodb.org/windows/mongodb-windows-x86_64-5.0.31-rc1-signed.msi

2025-01-16 17:30:16 UTC

powershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_SHA256=598aed12e48cab241ef048580d624fbbc78c24b947e56e5702e9a8cedba0476d

2025-01-16 17:30:52 UTC

powershell -Command $ErrorActionPreference = 'Stop'; Write-Host ('Downloading {0} ...' -f $env:MONGO_DOWNLOAD_URL); [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; (New-Object System.Net.WebClient).DownloadFile($env:MONGO_DOWNLOAD_URL, 'mongo.msi'); if ($env:MONGO_DOWNLOAD_SHA256) { Write-Host ('Verifying sha256 ({0}) ...' -f $env:MONGO_DOWNLOAD_SHA256); if ((Get-FileHash mongo.msi -Algorithm sha256).Hash -ne $env:MONGO_DOWNLOAD_SHA256) { Write-Host 'FAILED!'; exit 1; }; }; Write-Host 'Installing ...'; Start-Process msiexec -Wait -ArgumentList @( '/i', 'mongo.msi', '/quiet', '/qn', '/l*v', 'install.log', 'INSTALLLOCATION=C:\mongodb', 'ADDLOCAL=Client,MiscellaneousTools,Router,ServerNoService' ); if (-Not (Test-Path C:\mongodb\bin\mongod.exe -PathType Leaf)) { Write-Host 'Installer failed!'; Get-Content install.log; exit 1; }; Remove-Item install.log; $env:PATH = 'C:\mongodb\bin;' + $env:PATH; [Environment]::SetEnvironmentVariable('PATH', $env:PATH, [EnvironmentVariableTarget]::Machine); Write-Host 'Verifying install ...'; Write-Host ' mongo --version'; mongo --version; Write-Host ' mongod --version'; mongod --version; Write-Host 'Removing ...'; Remove-Item C:\windows\installer\*.msi -Force; Remove-Item mongo.msi -Force; Write-Host 'Complete.';

2025-01-16 17:30:56 UTC

powershell -Command $ErrorActionPreference = 'Stop'; #(nop) VOLUME [C:\data\db C:\data\configdb]

2025-01-16 17:30:59 UTC

powershell -Command $ErrorActionPreference = 'Stop'; #(nop) EXPOSE 27017

2025-01-16 17:31:00 UTC

powershell -Command $ErrorActionPreference = 'Stop'; #(nop) CMD ["mongod" "--bind_ip_all"]

Details
Created

2025-01-15 17:01:19 UTC

Size

242 MB

Content Digest
Labels
  • org.opencontainers.image.ref.name
    ubuntu
  • org.opencontainers.image.version
    20.04

Environment
GOSU_VERSION

1.17

HOME

/data/db

JSYAML_CHECKSUM

662e32319bdd378e91f67578e56a34954b0a2e33aca11d70ab9f4826af24b941

JSYAML_VERSION

3.13.1

MONGO_MAJOR

testing

MONGO_PACKAGE

mongodb-org

MONGO_REPO

repo.mongodb.org

MONGO_VERSION

5.0.31~rc1

PATH

/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin


Layers

[#000] sha256:1b9f3c55f9d4aa5c52eb67a4cb7d0f4726ab85a413b50e3e3fe788befce3d297 - 10.25% (24.8 MB)

[#001] sha256:57ebb0061a0ea9c488b3dd3454afe6fc82782c489466a9a818824bed1a260bd6 - 0.0% (1.74 KB)

[#002] sha256:14e28e086046528e89c6a630e6eea21f9bbec21c2eaeb6efed521b394d3e29dd - 1.16% (2.81 MB)

[#003] sha256:f78466610c70775f3ce3c3ba5c73aa684570ed0a02199eb60aa919463e188f5b - 0.4% (1000 KB)

[#004] sha256:db1925f6083b77955a1107a23ca2df0b1f4feaac61ddbcb880077d848294c936 - 0.0% (116 Bytes)

[#005] sha256:d0c74a4bedae3fc735e4f1396418482703ca8d6c2cef40841c0a16d5d396823e - 0.0% (261 Bytes)

[#006] sha256:fb9f731a9715ca3e9e93256dfc2b7d5dc3773281f6009703e64ef448ce46600e - 0.0% (262 Bytes)

[#007] sha256:ca02ecf05a7b48f5e369fecc6a5e818e72b357a6cc47a2a554588309a28f4a91 - 88.18% (213 MB)

[#008] sha256:fe13f8e870643a7e7b32e0a2e098a32c056c95415aa4e0793b9779e6a9ac08bf - 0.0% (4.88 KB)


History
2024-10-11 03:39:45 UTC

/bin/sh -c #(nop) ARG RELEASE

2024-10-11 03:39:45 UTC

/bin/sh -c #(nop) ARG LAUNCHPAD_BUILD_ARCH

2024-10-11 03:39:45 UTC

/bin/sh -c #(nop) LABEL org.opencontainers.image.ref.name=ubuntu

2024-10-11 03:39:45 UTC

/bin/sh -c #(nop) LABEL org.opencontainers.image.version=20.04

2024-10-11 03:39:47 UTC

/bin/sh -c #(nop) ADD file:8537b4db344382b39d669af27cd94ec0f870ceafe58c67ee54e3f9b38fb8d671 in /

2024-10-11 03:39:47 UTC

/bin/sh -c #(nop) CMD ["/bin/bash"]

2025-01-15 17:01:19 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; groupadd --gid 999 --system mongodb; useradd --uid 999 --system --gid mongodb --home-dir /data/db mongodb; mkdir -p /data/db /data/configdb; chown -R mongodb:mongodb /data/db /data/configdb # buildkit

2025-01-15 17:01:19 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; apt-get update; apt-get install -y --no-install-recommends ca-certificates jq numactl procps ; rm -rf /var/lib/apt/lists/* # buildkit

2025-01-15 17:01:19 UTC (buildkit.dockerfile.v0)

ENV GOSU_VERSION=1.17

2025-01-15 17:01:19 UTC (buildkit.dockerfile.v0)

ENV JSYAML_VERSION=3.13.1

2025-01-15 17:01:19 UTC (buildkit.dockerfile.v0)

ENV JSYAML_CHECKSUM=662e32319bdd378e91f67578e56a34954b0a2e33aca11d70ab9f4826af24b941

2025-01-15 17:01:19 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; savedAptMark="$(apt-mark showmanual)"; apt-get update; apt-get install -y --no-install-recommends gnupg wget ; rm -rf /var/lib/apt/lists/*; dpkgArch="$(dpkg --print-architecture | awk -F- '{ print $NF }')"; wget -O /usr/local/bin/gosu "https://github.com/tianon/gosu/releases/download/$GOSU_VERSION/gosu-$dpkgArch"; wget -O /usr/local/bin/gosu.asc "https://github.com/tianon/gosu/releases/download/$GOSU_VERSION/gosu-$dpkgArch.asc"; export GNUPGHOME="$(mktemp -d)"; gpg --batch --keyserver hkps://keys.openpgp.org --recv-keys B42F6819007F00F88E364FD4036A9C25BF357DD4; gpg --batch --verify /usr/local/bin/gosu.asc /usr/local/bin/gosu; gpgconf --kill all; rm -rf "$GNUPGHOME" /usr/local/bin/gosu.asc; mkdir -p /opt/js-yaml/; wget -O /opt/js-yaml/js-yaml.tgz https://registry.npmjs.org/js-yaml/-/js-yaml-${JSYAML_VERSION}.tgz; echo "$JSYAML_CHECKSUM */opt/js-yaml/js-yaml.tgz" | sha256sum -c -; tar -xz --strip-components=1 -f /opt/js-yaml/js-yaml.tgz -C /opt/js-yaml package/dist/js-yaml.js package/package.json; rm /opt/js-yaml/js-yaml.tgz; ln -s /opt/js-yaml/dist/js-yaml.js /js-yaml.js; export GNUPGHOME="$(mktemp -d)"; wget -O KEYS 'https://pgp.mongodb.com/server-dev.asc' 'https://pgp.mongodb.com/server-5.0.asc'; gpg --batch --import KEYS; mkdir -p /etc/apt/keyrings; gpg --batch --export --armor '28DE23AF08040FB24C33F36381B0EBBBADCEA95C' 'F5679A222C647C87527C2F8CB00A0BD1E2C63C11' > /etc/apt/keyrings/mongodb.asc; gpgconf --kill all; rm -rf "$GNUPGHOME" KEYS; apt-mark auto '.*' > /dev/null; apt-mark manual $savedAptMark > /dev/null; apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; chmod +x /usr/local/bin/gosu; gosu --version; gosu nobody true # buildkit

2025-01-15 17:01:19 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c mkdir /docker-entrypoint-initdb.d # buildkit

2025-01-15 17:01:19 UTC (buildkit.dockerfile.v0)

ARG MONGO_PACKAGE=mongodb-org

2025-01-15 17:01:19 UTC (buildkit.dockerfile.v0)

ARG MONGO_REPO=repo.mongodb.org

2025-01-15 17:01:19 UTC (buildkit.dockerfile.v0)

ENV MONGO_PACKAGE=mongodb-org MONGO_REPO=repo.mongodb.org

2025-01-15 17:01:19 UTC (buildkit.dockerfile.v0)

ENV MONGO_MAJOR=testing

2025-01-15 17:01:19 UTC (buildkit.dockerfile.v0)

RUN |2 MONGO_PACKAGE=mongodb-org MONGO_REPO=repo.mongodb.org /bin/sh -c echo "deb [ signed-by=/etc/apt/keyrings/mongodb.asc ] http://$MONGO_REPO/apt/ubuntu focal/${MONGO_PACKAGE%-unstable}/$MONGO_MAJOR multiverse" | tee "/etc/apt/sources.list.d/${MONGO_PACKAGE%-unstable}.list" # buildkit

2025-01-15 17:01:19 UTC (buildkit.dockerfile.v0)

RUN |2 MONGO_PACKAGE=mongodb-org MONGO_REPO=repo.mongodb.org /bin/sh -c echo "deb [ signed-by=/etc/apt/keyrings/mongodb.asc ] http://$MONGO_REPO/apt/ubuntu focal/${MONGO_PACKAGE%-unstable}/5.0 multiverse" | tee "/etc/apt/sources.list.d/mongodb-5.0.list" # buildkit

2025-01-15 17:01:19 UTC (buildkit.dockerfile.v0)

ENV MONGO_VERSION=5.0.31~rc1

2025-01-15 17:01:19 UTC (buildkit.dockerfile.v0)

RUN |2 MONGO_PACKAGE=mongodb-org MONGO_REPO=repo.mongodb.org /bin/sh -c set -x && export DEBIAN_FRONTEND=noninteractive && apt-get update && apt-get install -y ${MONGO_PACKAGE}=$MONGO_VERSION ${MONGO_PACKAGE}-server=$MONGO_VERSION ${MONGO_PACKAGE}-shell=$MONGO_VERSION ${MONGO_PACKAGE}-mongos=$MONGO_VERSION ${MONGO_PACKAGE}-tools=$MONGO_VERSION && rm -rf /var/lib/apt/lists/* && rm -rf /var/lib/mongodb && mv /etc/mongod.conf /etc/mongod.conf.orig # buildkit

2025-01-15 17:01:19 UTC (buildkit.dockerfile.v0)

VOLUME [/data/db /data/configdb]

2025-01-15 17:01:19 UTC (buildkit.dockerfile.v0)

ENV HOME=/data/db

2025-01-15 17:01:19 UTC (buildkit.dockerfile.v0)

COPY docker-entrypoint.sh /usr/local/bin/ # buildkit

2025-01-15 17:01:19 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["docker-entrypoint.sh"]

2025-01-15 17:01:19 UTC (buildkit.dockerfile.v0)

EXPOSE map[27017/tcp:{}]

2025-01-15 17:01:19 UTC (buildkit.dockerfile.v0)

CMD ["mongod"]

Danger Zone
Delete Tag

Please be careful as this will not just delete the reference but also the actual content!

For example when you have latest and v1.2.3 both pointing to the same image
the deletion of latest will also permanently remove v1.2.3.

Delete