2026-01-13 23:00:49 UTC
2.15 GB
dbad91532fd5f5bb5b42818ce7a644dd603a388926303b306e23ef29a640e849
MONGO_DOWNLOAD_URLhttps://fastdl.mongodb.org/windows/mongodb-windows-x86_64-8.2.3-signed.msi
MONGO_VERSION8.2.3
[#000] sha256:e8e286c160e014cebd84213d5cfa83952f5927713def450860146ee76600ee3f - 64.72% (1.39 GB)
[#001] sha256:360b252c290b93ec41216f7dc46e4be66a0311063648c653fe191c345018fc7d - 0.0% (1.26 KB)
[#002] sha256:4be0589b24cd7e89b2d23e0010f876e83d5d84aa2e4c8fa1a7b94c34c000648a - 0.0% (1.27 KB)
[#003] sha256:eca321270f88713686ee5f8096d24db0c4f8ba5e6215a904800537d74cddecdb - 0.0% (1.3 KB)
[#004] sha256:8c5dd864a30d14de5d6657733765e260f4f2ac28be4d180961bf278a74188e55 - 0.0% (1.29 KB)
[#005] sha256:1dc81f7eb21062c507514bbcf5226bc99bef4f91e5f305df02ecedab64b91ee3 - 35.28% (778 MB)
[#006] sha256:e32078f0c6fc72400232579f98fa85408ad8d6bbdff9f56da238ee70e9cdda01 - 0.0% (1.3 KB)
[#007] sha256:2aa8e4a5de20e8f54a754473a766b2323530f0a1e79c9b36f24cdefd43a17a9a - 0.0% (1.29 KB)
[#008] sha256:13abaf697bd6b19a8b43b767f8b5cc60657c9540c47d1267d5dc526f1f39c1f3 - 0.0% (1.31 KB)
Apply image 10.0.26100.32230
2026-01-13 22:58:56 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop';]
2026-01-13 22:58:56 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_VERSION=8.2.3
2026-01-13 22:58:56 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_URL=https://fastdl.mongodb.org/windows/mongodb-windows-x86_64-8.2.3-signed.msi
2026-01-13 22:58:57 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_SHA256=dbad91532fd5f5bb5b42818ce7a644dd603a388926303b306e23ef29a640e849
2026-01-13 23:00:47 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-13 23:00:48 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) VOLUME [C:\data\db C:\data\configdb]
2026-01-13 23:00:48 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) EXPOSE 27017
2026-01-13 23:00:49 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.