2026-01-28 19:04:36 UTC
1.97 GB
3bbf7db85f94cdf291c79dd14bc1d0f16c31b276249007d8320c6d83e2c882ab
MONGO_DOWNLOAD_URLhttps://fastdl.mongodb.org/windows/mongodb-windows-x86_64-7.0.29-signed.msi
MONGO_VERSION7.0.29
[#000] sha256:e8e286c160e014cebd84213d5cfa83952f5927713def450860146ee76600ee3f - 70.74% (1.39 GB)
[#001] sha256:4bbfd3d818c49942c463b0302afaa514b4900a8f63a857ecbeca901b589ba87e - 0.0% (1.33 KB)
[#002] sha256:5a9c78947ccb909390291ee8ace0b8beafb6dcdff4f8135b9185d897edf2321b - 0.0% (1.3 KB)
[#003] sha256:1020948bf676266b073d1bb821b78648fe146695bc333fe9f26fa2ef9612a205 - 0.0% (1.28 KB)
[#004] sha256:141e1805168e140ca5d8b030f08b6fc671f37ad1bbb7892701911462ab5e9a4c - 0.0% (1.26 KB)
[#005] sha256:fa2fc787ae4bf65f6d5cfdb2bcc63ed7b04db4962df2f461c9b2de248e934c4e - 29.26% (590 MB)
[#006] sha256:c9dacdf7a94f7d142ac77ade395bb1dd75e0b49464e056212b5c073add7abef6 - 0.0% (1.31 KB)
[#007] sha256:531ede071b35f217edf0b07848462bb84e03964654a01a5e20df254796ce6d95 - 0.0% (1.33 KB)
[#008] sha256:2add488584a4efc52da946241b8a7f67947516ddc23f46fd1e597b5d42e05c57 - 0.0% (1.26 KB)
Apply image 10.0.26100.32230
2026-01-28 19:01:59 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop';]
2026-01-28 19:02:01 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_VERSION=7.0.29
2026-01-28 19:02:02 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_URL=https://fastdl.mongodb.org/windows/mongodb-windows-x86_64-7.0.29-signed.msi
2026-01-28 19:02:03 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_SHA256=3bbf7db85f94cdf291c79dd14bc1d0f16c31b276249007d8320c6d83e2c882ab
2026-01-28 19:04:33 UTCpowershell -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.';
2026-01-28 19:04:34 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) VOLUME [C:\data\db C:\data\configdb]
2026-01-28 19:04:35 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) EXPOSE 27017
2026-01-28 19:04:36 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) CMD ["mongod" "--bind_ip_all"]
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.