Namespace
library
Image / Tag
mongo:5.0
Content Digest
sha256:54bcd8da3ea5eec561b68c605046c55c6b304387dc4c2bf5b3a5f5064fbb7495
Details
Created

2025-01-28 23:01:16 UTC

Size

262 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

5.0

MONGO_PACKAGE

mongodb-org

MONGO_REPO

repo.mongodb.org

MONGO_VERSION

5.0.31

PATH

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


Layers

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

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

[#002] sha256:0456147d143084d6e321a37c70c0416fb6f621c2532707d0f3af3aa80ab5d1d3 - 1.12% (2.95 MB)

[#003] sha256:16e97e3351032684351b6e1fc5c2b8adfc57c59e1be12116b1675209751d2c67 - 0.4% (1.04 MB)

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

[#005] sha256:b076be86645a50574671536b6b3c4d5ad095d1a8105d952c411a22c26508fa11 - 0.0% (260 Bytes)

[#006] sha256:a7a1a92aeac54172e805b97c8b647bc03007c58acd416d3a95f5f1a3b5b41a38 - 88.48% (232 MB)

[#007] sha256:3d7e6a7004dc552cb544e59e452fd38f66df42026140290506bbe19365b06ca5 - 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-28 23:01:16 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-28 23:01:16 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-28 23:01:16 UTC (buildkit.dockerfile.v0)

ENV GOSU_VERSION=1.17

2025-01-28 23:01:16 UTC (buildkit.dockerfile.v0)

ENV JSYAML_VERSION=3.13.1

2025-01-28 23:01:16 UTC (buildkit.dockerfile.v0)

ENV JSYAML_CHECKSUM=662e32319bdd378e91f67578e56a34954b0a2e33aca11d70ab9f4826af24b941

2025-01-28 23:01:16 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-5.0.asc'; gpg --batch --import KEYS; mkdir -p /etc/apt/keyrings; gpg --batch --export --armor '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-28 23:01:16 UTC (buildkit.dockerfile.v0)

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

2025-01-28 23:01:16 UTC (buildkit.dockerfile.v0)

ARG MONGO_PACKAGE=mongodb-org

2025-01-28 23:01:16 UTC (buildkit.dockerfile.v0)

ARG MONGO_REPO=repo.mongodb.org

2025-01-28 23:01:16 UTC (buildkit.dockerfile.v0)

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

2025-01-28 23:01:16 UTC (buildkit.dockerfile.v0)

ENV MONGO_MAJOR=5.0

2025-01-28 23:01:16 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-28 23:01:16 UTC (buildkit.dockerfile.v0)

ENV MONGO_VERSION=5.0.31

2025-01-28 23:01:16 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-28 23:01:16 UTC (buildkit.dockerfile.v0)

VOLUME [/data/db /data/configdb]

2025-01-28 23:01:16 UTC (buildkit.dockerfile.v0)

ENV HOME=/data/db

2025-01-28 23:01:16 UTC (buildkit.dockerfile.v0)

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

2025-01-28 23:01:16 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["docker-entrypoint.sh"]

2025-01-28 23:01:16 UTC (buildkit.dockerfile.v0)

EXPOSE map[27017/tcp:{}]

2025-01-28 23:01:16 UTC (buildkit.dockerfile.v0)

CMD ["mongod"]

Details
Created

2025-01-29 01:31:42 UTC

Size

2.62 GB

Content Digest
Environment
MONGO_DOWNLOAD_SHA256

fd7fdc89d5caeb56a86f5a5f67007435a48af9c80407b181b6edac0945bb2e63

MONGO_DOWNLOAD_URL

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

MONGO_VERSION

5.0.31


Layers

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

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

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

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

[#004] sha256:0c0b06721350c3b3931567998b9f03ebe4f16dfb08cc15094e49ea868371e3d5 - 0.0% (1.29 KB)

[#005] sha256:1949fb0fb8693a6c07e2d62e3d3c70957b41b66ac485305cdde592046c2b718b - 0.0% (1.3 KB)

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

[#007] sha256:f47d8401926f0dfb3ab088daddf3e0b8cc200f23976df1b3453afd51742c85b4 - 0.0% (1.29 KB)

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

[#009] sha256:7b0f4003184b845fb09d8bfa0844600172b3e2c7c3cc1844ebebedbfd9d07b9b - 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-29 01:30:43 UTC

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

2025-01-29 01:30:43 UTC

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

2025-01-29 01:30:44 UTC

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

2025-01-29 01:30:45 UTC

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

2025-01-29 01:31:38 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-29 01:31:41 UTC

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

2025-01-29 01:31:41 UTC

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

2025-01-29 01:31:42 UTC

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

Details
Created

2025-02-13 00:34:53 UTC

Size

2.28 GB

Content Digest
Environment
MONGO_DOWNLOAD_SHA256

fd7fdc89d5caeb56a86f5a5f67007435a48af9c80407b181b6edac0945bb2e63

MONGO_DOWNLOAD_URL

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

MONGO_VERSION

5.0.31


Layers

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

[#001] sha256:c3af2bd0a1965eaed07372d9df47eb5ee783273fad4e91a30412cdd07c198cc7 - 17.0% (397 MB)

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

[#003] sha256:47b1097d8655322284c7c41053e39b3c8232fcee6aa878a843e30249c429681f - 0.0% (1.27 KB)

[#004] sha256:07e62a3f3f8580df187b153772362bc9bc9bbd17d3ad22f51afaa6a9bd731219 - 0.0% (1.31 KB)

[#005] sha256:3ba55dbdd69e236b34cf8a39288a41f4104c6f2815e4a45e72e9fce33196f781 - 0.0% (1.32 KB)

[#006] sha256:89f0dde5ceb9c1738678dfb6bbeb85c507892cc72bdd673c7625425ff103f5d0 - 12.8% (299 MB)

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

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

[#009] sha256:c2753f8736f444df7c6625c84fcd75cc59399e8981f3066174fbc245cf14dfd0 - 0.0% (1.27 KB)


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

Apply image 10.0.17763.6293

2025-02-07 18:15:33 UTC

Install update 10.0.17763.6893

2025-02-13 00:33:37 UTC

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

2025-02-13 00:33:38 UTC

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

2025-02-13 00:33:39 UTC

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

2025-02-13 00:33:39 UTC

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

2025-02-13 00:34:45 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-02-13 00:34:48 UTC

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

2025-02-13 00:34:50 UTC

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

2025-02-13 00:34:53 UTC

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

Details
Created

2025-02-13 00:38:12 UTC

Size

2.4 GB

Content Digest
Environment
MONGO_DOWNLOAD_SHA256

fd7fdc89d5caeb56a86f5a5f67007435a48af9c80407b181b6edac0945bb2e63

MONGO_DOWNLOAD_URL

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

MONGO_VERSION

5.0.31


Layers

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

[#001] sha256:76bc4873980ff6a1dec3c10adb1f289ccf73e4c47c8694420e8ff929f1476ada - 31.1% (765 MB)

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

[#003] sha256:604606dd3ba920ab3bfd161dc6fd1cf0861a0db75e42d7214c2c47dc97c56165 - 0.0% (1.25 KB)

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

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

[#006] sha256:1d2d2e40b83c7ac2e784da77ddd5f526a4c0099241c4c6bfc8f9814de94b74a5 - 12.17% (299 MB)

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

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

[#009] sha256:80a62dae2c90270aa77cc0be4c929b43b8e3cf61e6016ac00b8c915a50da18c3 - 0.0% (1.26 KB)


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

Apply image 10.0.20348.2700

2025-02-07 21:10:03 UTC

Install update 10.0.20348.3207

2025-02-13 00:37:30 UTC

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

2025-02-13 00:37:31 UTC

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

2025-02-13 00:37:31 UTC

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

2025-02-13 00:37:32 UTC

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

2025-02-13 00:38:09 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-02-13 00:38:10 UTC

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

2025-02-13 00:38:11 UTC

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

2025-02-13 00:38:12 UTC

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

Details
Created

2025-01-28 23:01:16 UTC

Size

252 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

5.0

MONGO_PACKAGE

mongodb-org

MONGO_REPO

repo.mongodb.org

MONGO_VERSION

5.0.31

PATH

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


Layers

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

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

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

[#003] sha256:9f9826c1b86561c01710b5c3e85e29a5c16e55f8c9f3c08d61f3de2266670720 - 0.39% (1000 KB)

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

[#005] sha256:c42f55dae4d3d19fe42bee5a888d2715fd77c7c358c458804974676462898d0d - 0.0% (260 Bytes)

[#006] sha256:74ec925c09950333eef4a2777c80063bfc0cb9ddbc827e68ec4c1b52ab951b70 - 88.66% (223 MB)

[#007] sha256:a8ec0fe1e29399285997aa1137c5daa83d5d335513c2dbdc53206dd3d26025c7 - 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-28 23:01:16 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-28 23:01:16 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-28 23:01:16 UTC (buildkit.dockerfile.v0)

ENV GOSU_VERSION=1.17

2025-01-28 23:01:16 UTC (buildkit.dockerfile.v0)

ENV JSYAML_VERSION=3.13.1

2025-01-28 23:01:16 UTC (buildkit.dockerfile.v0)

ENV JSYAML_CHECKSUM=662e32319bdd378e91f67578e56a34954b0a2e33aca11d70ab9f4826af24b941

2025-01-28 23:01:16 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-5.0.asc'; gpg --batch --import KEYS; mkdir -p /etc/apt/keyrings; gpg --batch --export --armor '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-28 23:01:16 UTC (buildkit.dockerfile.v0)

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

2025-01-28 23:01:16 UTC (buildkit.dockerfile.v0)

ARG MONGO_PACKAGE=mongodb-org

2025-01-28 23:01:16 UTC (buildkit.dockerfile.v0)

ARG MONGO_REPO=repo.mongodb.org

2025-01-28 23:01:16 UTC (buildkit.dockerfile.v0)

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

2025-01-28 23:01:16 UTC (buildkit.dockerfile.v0)

ENV MONGO_MAJOR=5.0

2025-01-28 23:01:16 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-28 23:01:16 UTC (buildkit.dockerfile.v0)

ENV MONGO_VERSION=5.0.31

2025-01-28 23:01:16 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-28 23:01:16 UTC (buildkit.dockerfile.v0)

VOLUME [/data/db /data/configdb]

2025-01-28 23:01:16 UTC (buildkit.dockerfile.v0)

ENV HOME=/data/db

2025-01-28 23:01:16 UTC (buildkit.dockerfile.v0)

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

2025-01-28 23:01:16 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["docker-entrypoint.sh"]

2025-01-28 23:01:16 UTC (buildkit.dockerfile.v0)

EXPOSE map[27017/tcp:{}]

2025-01-28 23:01:16 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