Namespace
library
Image / Tag
mongo:7.0-windowsservercore-ltsc2022
Content Digest
sha256:ed12edfb107e7b64f2d92aac01da5965a111117d2bdd6889844b0fd679842f9f
Details
Created

2025-04-18 03:26:19 UTC

Size

2.69 GB

Content Digest
Environment
MONGO_DOWNLOAD_SHA256

815ab9b621acea764f1ecc99c0b686162116ded842a384e4b280713343a3bf9b

MONGO_DOWNLOAD_URL

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

MONGO_VERSION

7.0.19


Layers

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

[#001] sha256:b0b6ee194dfee460cc53e0f761b7ff976c08380d6cd1e70cc50ff92cfa99d176 - 28.11% (774 MB)

[#002] sha256:19c5b7072fee1b8a3221c827a794645d99e21e2d2fcebbbd0e71f06f26997ff9 - 0.0% (1.25 KB)

[#003] sha256:96cd42293001a3ae1b3874e89771df68afd36579958cf8757ec5695976cb4ea1 - 0.0% (1.25 KB)

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

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

[#006] sha256:b6de5853de4c2ff1ba98120c69021fef06cb1ae03f80e5736a9d57315f656a76 - 21.23% (584 MB)

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

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

[#009] sha256:62197c2bce3eae11d81f6717d547760c4d1d694db8202f7eec9f68eb2d3a1114 - 0.0% (1.26 KB)


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

Apply image 10.0.20348.2700

2025-04-16 03:49:18 UTC

Install update 10.0.20348.3566

2025-04-18 03:25:04 UTC

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

2025-04-18 03:25:05 UTC

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

2025-04-18 03:25:06 UTC

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

2025-04-18 03:25:07 UTC

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

2025-04-18 03:26:16 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-04-18 03:26:18 UTC

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

2025-04-18 03:26:18 UTC

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

2025-04-18 03:26:19 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