Namespace
library
Image / Tag
mongo:7.0.24-windowsservercore-ltsc2022
Content Digest
sha256:921f590089186995e0c50fb9280c28ed90655608c0c5c374b3db31412769374c
Details
Created

2025-09-10 23:50:12 UTC

Size

2.7 GB

Content Digest
Environment
MONGO_DOWNLOAD_SHA256

1240b0b1037647b9bfe4f792ed46cc9608969a3aff364661841cfc3f81a15949

MONGO_DOWNLOAD_URL

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

MONGO_VERSION

7.0.24


Layers

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

[#001] sha256:3b109a50da182bf38f697ad080cf5640df286bdfc5e6a1f2f6b2002c48534385 - 28.27% (782 MB)

[#002] sha256:5aa8e8bf1f531980f2ac5cfa91e0cca121348fa6f00c50b73d2f3386e56fc0d4 - 0.0% (1.29 KB)

[#003] sha256:75a209c42101a5c62fecb1f05987ab0346dca509cfe07c2ec052753d57fd79bf - 0.0% (1.31 KB)

[#004] sha256:3bcc3ed2f1b89d981f6c3f79f559bfcd4a1282742c92ef4020c0637079e2de91 - 0.0% (1.29 KB)

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

[#006] sha256:1ad972e911a9989364dda8b22c04c6a1b4dfcf4116d7b5e68b2332f436bcbc2c - 21.32% (590 MB)

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

[#008] sha256:52c353308e113a0a920faf0970fd21ca7a79560498df05b0793cf9e0e6b265b9 - 0.0% (1.3 KB)

[#009] sha256:d68f2f44223b586ac5e05a707dc84f65034124cf339fe37afb538fb73b5151f2 - 0.0% (1.3 KB)


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

Apply image 10.0.20348.2700

2025-09-05 13:15:05 UTC

Install update 10.0.20348.4171

2025-09-10 23:45:27 UTC

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

2025-09-10 23:48:58 UTC

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

2025-09-10 23:48:58 UTC

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

2025-09-10 23:48:59 UTC

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

2025-09-10 23:50: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-09-10 23:50:10 UTC

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

2025-09-10 23:50:11 UTC

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

2025-09-10 23:50:12 UTC

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

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