2026-03-17 18:11:19 UTC
2.67 GB
d6e81160f4ca40f2709a347c1953e5fcca06719355ddb657017c125bd2aafc7f
MONGO_DOWNLOAD_URLhttps://fastdl.mongodb.org/windows/mongodb-windows-x86_64-8.0.20-signed.msi
MONGO_VERSION8.0.20
[#000] sha256:0938cf51b672b81c9804d1d5f0c57031c931f41b279270e84820c63642d6a3bd - 53.03% (1.42 GB)
[#001] sha256:b887ef086b6ed6d2abdb72b842528552ef42d0e668e96556db2d01a9b71bfd77 - 19.43% (532 MB)
[#002] sha256:2666b4db1bf612509a1a01c4481b3ab7958c6fd378398d17a1e776283513656b - 0.0% (1.28 KB)
[#003] sha256:8822ea93f844fdd20f1893aea7cca102f3e8503abb477f30b49863f7f82a89d9 - 0.0% (1.31 KB)
[#004] sha256:4e26382458c43bcb9b6429491e79ab2422beee922fa440e8781f759b887e50ec - 0.0% (1.29 KB)
[#005] sha256:ab5e492cadd5df5b4df28ba2125b95b8c37bb8e23301627a657771f84cfcf4b2 - 0.0% (1.26 KB)
[#006] sha256:f98edbba225fa33b63545be3a00441cf8b7f1ed54e54ae790db63e643f8b95c2 - 27.53% (754 MB)
[#007] sha256:d60fa760313188a351ad0a2af210b03853392802911b96c54390669da47e45b4 - 0.0% (1.3 KB)
[#008] sha256:85b15541dec83c59502261164e0753c6b389d136f8bbf7c57559e98d74cd1289 - 0.0% (1.3 KB)
[#009] sha256:1258a9492c8119ff72fa4b1cb9a3e5130dd40fd6b450be5494d4b8ffe5feaad3 - 0.0% (1.26 KB)
Apply image 10.0.26100.32230
2026-03-06 02:07:33 UTCInstall update 10.0.26100.32522
2026-03-17 18:05:27 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop';]
2026-03-17 18:09:19 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_VERSION=8.0.20
2026-03-17 18:09:19 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_URL=https://fastdl.mongodb.org/windows/mongodb-windows-x86_64-8.0.20-signed.msi
2026-03-17 18:09:19 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_SHA256=d6e81160f4ca40f2709a347c1953e5fcca06719355ddb657017c125bd2aafc7f
2026-03-17 18:11:18 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-03-17 18:11:18 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) VOLUME [C:\data\db C:\data\configdb]
2026-03-17 18:11:19 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) EXPOSE 27017
2026-03-17 18:11:19 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.