Namespace
library
Image / Tag
mongo:7.0.18-rc0
Content Digest
sha256:de10c0d9b5b6aaba2cd655052574f5abf0c268064c9e4153814528d33566a867
Details
Created

2025-03-14 21:52:44 UTC

Size

258 MB

Content Digest
Labels
  • org.opencontainers.image.ref.name
    ubuntu
  • org.opencontainers.image.version
    22.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

7.0.18~rc0

PATH

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


Layers

[#000] sha256:9cb31e2e37eab1bff50f727e979fcacb509e225fb853433a6fe21d2fb34e6305 - 10.93% (28.2 MB)

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

[#002] sha256:5e7f7ac662314ffa2e1cf5e9b63aca769e2c7fcfaff3e1ff9c6b9bc2375fb865 - 0.56% (1.44 MB)

[#003] sha256:a09333f4ce345fdc490e5df301163047389c964dbd0b40d2c1e0e887fe263745 - 0.41% (1.05 MB)

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

[#005] sha256:2d449ada776fd70c7cb67f7f49b97a58a5ba19a60cce6d6f031f5df825c20cc2 - 0.0% (266 Bytes)

[#006] sha256:795193cb84149477a01016bad760af89ffe35616f0289c5bcce17466fa31fe60 - 0.0% (265 Bytes)

[#007] sha256:00a2faa14d2040116817ef7f310d9f6a5207e10984d3af465ebc99dbef4b262b - 88.1% (227 MB)

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


History
2025-01-26 05:31:07 UTC

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

2025-01-26 05:31:07 UTC

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

2025-01-26 05:31:07 UTC

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

2025-01-26 05:31:07 UTC

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

2025-01-26 05:31:10 UTC

/bin/sh -c #(nop) ADD file:1b6c8c9518be42fa2afe5e241ca31677fce58d27cdfa88baa91a65a259be3637 in /

2025-01-26 05:31:11 UTC

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

2025-03-14 21:52:44 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-03-14 21:52:44 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-03-14 21:52:44 UTC (buildkit.dockerfile.v0)

ENV GOSU_VERSION=1.17

2025-03-14 21:52:44 UTC (buildkit.dockerfile.v0)

ENV JSYAML_VERSION=3.13.1

2025-03-14 21:52:44 UTC (buildkit.dockerfile.v0)

ENV JSYAML_CHECKSUM=662e32319bdd378e91f67578e56a34954b0a2e33aca11d70ab9f4826af24b941

2025-03-14 21:52:44 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-7.0.asc'; gpg --batch --import KEYS; mkdir -p /etc/apt/keyrings; gpg --batch --export --armor '28DE23AF08040FB24C33F36381B0EBBBADCEA95C' 'E58830201F7DD82CD808AA84160D26BB1785BA38' > /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-03-14 21:52:44 UTC (buildkit.dockerfile.v0)

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

2025-03-14 21:52:44 UTC (buildkit.dockerfile.v0)

ARG MONGO_PACKAGE=mongodb-org

2025-03-14 21:52:44 UTC (buildkit.dockerfile.v0)

ARG MONGO_REPO=repo.mongodb.org

2025-03-14 21:52:44 UTC (buildkit.dockerfile.v0)

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

2025-03-14 21:52:44 UTC (buildkit.dockerfile.v0)

ENV MONGO_MAJOR=testing

2025-03-14 21:52:44 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 jammy/${MONGO_PACKAGE%-unstable}/$MONGO_MAJOR multiverse" | tee "/etc/apt/sources.list.d/${MONGO_PACKAGE%-unstable}.list" # buildkit

2025-03-14 21:52:44 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 jammy/${MONGO_PACKAGE%-unstable}/7.0 multiverse" | tee "/etc/apt/sources.list.d/mongodb-7.0.list" # buildkit

2025-03-14 21:52:44 UTC (buildkit.dockerfile.v0)

ENV MONGO_VERSION=7.0.18~rc0

2025-03-14 21:52:44 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 ${MONGO_PACKAGE}-database=$MONGO_VERSION ${MONGO_PACKAGE}-database-tools-extra=$MONGO_VERSION && rm -rf /var/lib/apt/lists/* && rm -rf /var/lib/mongodb && mv /etc/mongod.conf /etc/mongod.conf.orig # buildkit

2025-03-14 21:52:44 UTC (buildkit.dockerfile.v0)

VOLUME [/data/db /data/configdb]

2025-03-14 21:52:44 UTC (buildkit.dockerfile.v0)

ENV HOME=/data/db

2025-03-14 21:52:44 UTC (buildkit.dockerfile.v0)

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

2025-03-14 21:52:44 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["docker-entrypoint.sh"]

2025-03-14 21:52:44 UTC (buildkit.dockerfile.v0)

EXPOSE map[27017/tcp:{}]

2025-03-14 21:52:44 UTC (buildkit.dockerfile.v0)

CMD ["mongod"]

Details
Created

2025-03-14 23:29:24 UTC

Size

3.28 GB

Content Digest
Environment
MONGO_DOWNLOAD_SHA256

de7422fd80c73165e3d3c2428ea18d23430ab7595eadd9668999cb0b97bb05d7

MONGO_DOWNLOAD_URL

https://fastdl.mongodb.org/windows/mongodb-windows-x86_64-7.0.18-rc0-signed.msi

MONGO_VERSION

7.0.18-rc0


Layers

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

[#001] sha256:325ca01145f0fc17834eb1871e37e4a03c69b868e3eb071bf21be6413d720e5e - 19.69% (661 MB)

[#002] sha256:a6eb6b1630d3a5db46a96492e7be033933098b997148edfcdf4006736f93cea9 - 0.0% (1.31 KB)

[#003] sha256:6ef3e86ea34fbc6c50c2e076af321d05bc0f5471cd7a6d351f4a52236f4f6dd6 - 0.0% (1.28 KB)

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

[#005] sha256:8c672acfa044dedd298afc6be4b33d22b498ab36cdc5370c466a1291db485eff - 0.0% (1.26 KB)

[#006] sha256:cbf581963b042a7655cf0b320eb25b8f9fe28cf4bbb3ae738d0c9fbf2aee250e - 17.41% (585 MB)

[#007] sha256:e3f93903893df19d34434cee64fc2f036e6c596ecc57400bcb93f379bef8665a - 0.0% (1.26 KB)

[#008] sha256:0e6b2d014ccb619149bb1b691c2d4bf9514b1172f7deda029d686af83631dce7 - 0.0% (1.26 KB)

[#009] sha256:75fe4f54831e61aaf09783486be95e88d424f1cdfb3a5cff7e5deed7202b9968 - 0.0% (1.29 KB)


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

Apply image 10.0.26100.2605

2025-03-07 06:08:48 UTC

Install update 10.0.26100.3476

2025-03-14 23:28:04 UTC

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

2025-03-14 23:28:05 UTC

powershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_VERSION=7.0.18-rc0

2025-03-14 23:28:05 UTC

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

2025-03-14 23:28:06 UTC

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

2025-03-14 23:29:22 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=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 ' mongod --version'; mongod --version; Write-Host 'Removing ...'; Remove-Item C:\windows\installer\*.msi -Force; Remove-Item mongo.msi -Force; Write-Host 'Complete.';

2025-03-14 23:29:22 UTC

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

2025-03-14 23:29:23 UTC

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

2025-03-14 23:29:24 UTC

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

Details
Created

2025-03-14 23:28:08 UTC

Size

2.58 GB

Content Digest
Environment
MONGO_DOWNLOAD_SHA256

de7422fd80c73165e3d3c2428ea18d23430ab7595eadd9668999cb0b97bb05d7

MONGO_DOWNLOAD_URL

https://fastdl.mongodb.org/windows/mongodb-windows-x86_64-7.0.18-rc0-signed.msi

MONGO_VERSION

7.0.18-rc0


Layers

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

[#001] sha256:c77bec5e4bac3c7f6dc5d56da5ffc11e72881485b3a55330c17c915ad653f955 - 15.6% (411 MB)

[#002] sha256:3e0ef82d3623d9a2127ba79e818ff646a49a7b13e53162c162236662fc79675a - 0.0% (1.27 KB)

[#003] sha256:b8a7a094805fa81c115e23d91f7541b00c3cc247f8cd6273ea15b846e20ba6ba - 0.0% (1.26 KB)

[#004] sha256:6bceca845bf21ee7e37e18724406f9ec388079af3b24eb95c549a32476501d22 - 0.0% (1.27 KB)

[#005] sha256:91a7362565ddbeff31647743601e4d2dd57fea4e474a202850d947a13bb640b9 - 0.0% (1.27 KB)

[#006] sha256:c7981567e1fd9e8d467cebe56021221400eedcf2d8f3d78965233ce6c88e4831 - 22.18% (585 MB)

[#007] sha256:03ca356bf3f8633c1fc3d60b0904a9b33dc15085e34b9da4a6488639ef0ef147 - 0.0% (1.26 KB)

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

[#009] sha256:5ec9cbceed789a71aea12a73fa5de048a06101f361b71acaaa82b3ade7602717 - 0.0% (1.25 KB)


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

Apply image 10.0.17763.6293

2025-03-05 22:09:20 UTC

Install update 10.0.17763.7009

2025-03-14 23:26:39 UTC

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

2025-03-14 23:26:40 UTC

powershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_VERSION=7.0.18-rc0

2025-03-14 23:26:41 UTC

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

2025-03-14 23:26:42 UTC

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

2025-03-14 23:28:06 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=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 ' mongod --version'; mongod --version; Write-Host 'Removing ...'; Remove-Item C:\windows\installer\*.msi -Force; Remove-Item mongo.msi -Force; Write-Host 'Complete.';

2025-03-14 23:28:07 UTC

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

2025-03-14 23:28:07 UTC

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

2025-03-14 23:28:08 UTC

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

Details
Created

2025-03-14 23:31:59 UTC

Size

2.69 GB

Content Digest
Environment
MONGO_DOWNLOAD_SHA256

de7422fd80c73165e3d3c2428ea18d23430ab7595eadd9668999cb0b97bb05d7

MONGO_DOWNLOAD_URL

https://fastdl.mongodb.org/windows/mongodb-windows-x86_64-7.0.18-rc0-signed.msi

MONGO_VERSION

7.0.18-rc0


Layers

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

[#001] sha256:75861b2b3af9a692daa04d9c15a1c79d8a009e23ed5140003350c9b926460f09 - 28.02% (770 MB)

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

[#003] sha256:970e9791b4c5ee646b22675c4b2ca1a004569bf529e84dcea474dcdd85923fb7 - 0.0% (1.25 KB)

[#004] sha256:979821d7021f4fe7181f2bbbfa9563f2105b9385122d732a6d8a6406cf79f465 - 0.0% (1.28 KB)

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

[#006] sha256:9f96b7f7ebf084ecbbf1ed1dd5f0115c00a0adb4734d654ec2559ff32e8d8d1e - 21.27% (585 MB)

[#007] sha256:0b10ebdf2ef9a4b735f7a49adae28bbb1d1a65e2c9c7d725a8698186e91c692d - 0.0% (1.26 KB)

[#008] sha256:a0ebbb3ad5fcb2f822e3784b8c8151e3f5d09b20a6c13099b202ac2f6383b820 - 0.0% (1.25 KB)

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


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

Apply image 10.0.20348.2700

2025-03-06 10:49:01 UTC

Install update 10.0.20348.3328

2025-03-14 23:30:51 UTC

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

2025-03-14 23:30:52 UTC

powershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_VERSION=7.0.18-rc0

2025-03-14 23:30:52 UTC

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

2025-03-14 23:30:53 UTC

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

2025-03-14 23:31: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=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 ' mongod --version'; mongod --version; Write-Host 'Removing ...'; Remove-Item C:\windows\installer\*.msi -Force; Remove-Item mongo.msi -Force; Write-Host 'Complete.';

2025-03-14 23:31:53 UTC

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

2025-03-14 23:31:57 UTC

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

2025-03-14 23:31:59 UTC

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

Details
Created

2025-03-14 21:52:44 UTC

Size

246 MB

Content Digest
Labels
  • org.opencontainers.image.ref.name
    ubuntu
  • org.opencontainers.image.version
    22.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

7.0.18~rc0

PATH

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


Layers

[#000] sha256:0d1c17d4e593cf07e0f9e907017f6edbe7e32dd2b7f8e3f026c74bbaf3466561 - 10.6% (26.1 MB)

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

[#002] sha256:17eac65ce7a11c5298880d1aa0bca2d3c8b5a7a840dab772afd4e29ea8bc8036 - 0.57% (1.41 MB)

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

[#004] sha256:b269500b4fb68d417216650a61f75728a895fd4cae9e25b115211ccf38c19fc6 - 0.0% (114 Bytes)

[#005] sha256:e561560b35c6ec79ba92e7d20ff65294054a678834e3e135225fbc63ccaf37db - 0.0% (269 Bytes)

[#006] sha256:1b0844e9626597590ff22c1cd9dc49a4b9624d1fce375541d212f947d71d2634 - 0.0% (268 Bytes)

[#007] sha256:0dcd0041e65f00d90dd28a3f8ea86c11e806fb8470b58271eac2c453034d63f2 - 88.43% (218 MB)

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


History
2025-01-26 05:32:14 UTC

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

2025-01-26 05:32:14 UTC

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

2025-01-26 05:32:14 UTC

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

2025-01-26 05:32:14 UTC

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

2025-01-26 05:32:17 UTC

/bin/sh -c #(nop) ADD file:905ede4ce5ed6db0abca06b5e342a3784cd1f328e2cdc1f59f6d556f6382650d in /

2025-01-26 05:32:17 UTC

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

2025-03-14 21:52:44 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-03-14 21:52:44 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-03-14 21:52:44 UTC (buildkit.dockerfile.v0)

ENV GOSU_VERSION=1.17

2025-03-14 21:52:44 UTC (buildkit.dockerfile.v0)

ENV JSYAML_VERSION=3.13.1

2025-03-14 21:52:44 UTC (buildkit.dockerfile.v0)

ENV JSYAML_CHECKSUM=662e32319bdd378e91f67578e56a34954b0a2e33aca11d70ab9f4826af24b941

2025-03-14 21:52:44 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-7.0.asc'; gpg --batch --import KEYS; mkdir -p /etc/apt/keyrings; gpg --batch --export --armor '28DE23AF08040FB24C33F36381B0EBBBADCEA95C' 'E58830201F7DD82CD808AA84160D26BB1785BA38' > /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-03-14 21:52:44 UTC (buildkit.dockerfile.v0)

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

2025-03-14 21:52:44 UTC (buildkit.dockerfile.v0)

ARG MONGO_PACKAGE=mongodb-org

2025-03-14 21:52:44 UTC (buildkit.dockerfile.v0)

ARG MONGO_REPO=repo.mongodb.org

2025-03-14 21:52:44 UTC (buildkit.dockerfile.v0)

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

2025-03-14 21:52:44 UTC (buildkit.dockerfile.v0)

ENV MONGO_MAJOR=testing

2025-03-14 21:52:44 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 jammy/${MONGO_PACKAGE%-unstable}/$MONGO_MAJOR multiverse" | tee "/etc/apt/sources.list.d/${MONGO_PACKAGE%-unstable}.list" # buildkit

2025-03-14 21:52:44 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 jammy/${MONGO_PACKAGE%-unstable}/7.0 multiverse" | tee "/etc/apt/sources.list.d/mongodb-7.0.list" # buildkit

2025-03-14 21:52:44 UTC (buildkit.dockerfile.v0)

ENV MONGO_VERSION=7.0.18~rc0

2025-03-14 21:52:44 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 ${MONGO_PACKAGE}-database=$MONGO_VERSION ${MONGO_PACKAGE}-database-tools-extra=$MONGO_VERSION && rm -rf /var/lib/apt/lists/* && rm -rf /var/lib/mongodb && mv /etc/mongod.conf /etc/mongod.conf.orig # buildkit

2025-03-14 21:52:44 UTC (buildkit.dockerfile.v0)

VOLUME [/data/db /data/configdb]

2025-03-14 21:52:44 UTC (buildkit.dockerfile.v0)

ENV HOME=/data/db

2025-03-14 21:52:44 UTC (buildkit.dockerfile.v0)

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

2025-03-14 21:52:44 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["docker-entrypoint.sh"]

2025-03-14 21:52:44 UTC (buildkit.dockerfile.v0)

EXPOSE map[27017/tcp:{}]

2025-03-14 21:52:44 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