2026-06-09 22:27:41 UTC
2.73 GB
aaa3e0cde22b91fd977173344697ee84b09cd6418d5b36ca86884084e4dc5ef6
MONGO_DOWNLOAD_URLhttps://fastdl.mongodb.org/windows/mongodb-windows-x86_64-8.0.23-signed.msi
MONGO_VERSION8.0.23
[#000] sha256:3cc21a1b754848d23f00aa65cb94ec34c9a5dc6028b3aada42039c824738d02f - 50.86% (1.39 GB)
[#001] sha256:6897a04901ec162be0eabd7eb636b5ac50d6e37c880f1db618610f2d777b1ce6 - 21.97% (613 MB)
[#002] sha256:b334e46c56b61ff8662ac1f0498d18e38b88cd2d05e3f25dfd69faed4fa5859b - 0.0% (1.29 KB)
[#003] sha256:e7434c4b2dea972843ad1448bb881ad89e8a34774948d5ce77fda84a57c81e89 - 0.0% (1.31 KB)
[#004] sha256:f1ab707f7d609201d7fd25b8a112724778325d429c0f373010abfda8127ed52d - 0.0% (1.26 KB)
[#005] sha256:142b1636bc780a2c4c50edc040a8a60362e7428fdac262ac178a14d79b322dac - 0.0% (1.3 KB)
[#006] sha256:cd27a6eee423e76ce22dac4f84931d18d0cfe8e6db9370413679553e942c3266 - 27.17% (759 MB)
[#007] sha256:aa514e43d8e1dbc755a107b58c05dba2a607c22623c90341d431b87fe837f9b0 - 0.0% (1.29 KB)
[#008] sha256:75d2e5f5bf8918527027952be899777694974555d443c9cf362e8a6335b4732f - 0.0% (1.3 KB)
[#009] sha256:20c52038a2479aa45ffe5394d169a7b57c2d9c89c0e349b033b15ea5c9c73491 - 0.0% (1.26 KB)
Apply image 10.0.20348.4294
2026-06-07 06:43:23 UTCInstall update 10.0.20348.5256
2026-06-09 22:21:43 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop';]
2026-06-09 22:24:04 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_VERSION=8.0.23
2026-06-09 22:24:04 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_URL=https://fastdl.mongodb.org/windows/mongodb-windows-x86_64-8.0.23-signed.msi
2026-06-09 22:24:05 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_SHA256=aaa3e0cde22b91fd977173344697ee84b09cd6418d5b36ca86884084e4dc5ef6
2026-06-09 22:27:38 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-06-09 22:27:40 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) VOLUME [C:\data\db C:\data\configdb]
2026-06-09 22:27:40 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) EXPOSE 27017
2026-06-09 22:27:41 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.