2025-08-12 20:28:46 UTC
3.99 GB
aa48916bf08235c6b9047cfc9767c7e0a45d5f9f19ec07055aef0953005a2bd2
MONGO_DOWNLOAD_URLhttps://fastdl.mongodb.org/windows/mongodb-windows-x86_64-8.0.13-rc2-signed.msi
MONGO_VERSION8.0.13-rc2
[#000] sha256:1317fe15185685e9cd27f7542cd96f4847343401288a8b6798273a4ac60844eb - 51.76% (2.06 GB)
[#001] sha256:203c144449ed67b479a4424fa1d1138f1c8909f1e47a45a6500d4d7f7d058549 - 29.99% (1.2 GB)
[#002] sha256:431b91e18e6d31655c249d3ec527a7087a2412eee8ffbbff01048efe3664db7b - 0.0% (1.3 KB)
[#003] sha256:b124a1e5ec99bbab22aeb87d5f99de1e028158016bef9a55e807aeb2e7726e79 - 0.0% (1.3 KB)
[#004] sha256:37decea29c2f5ff38ba8205abaaf3ada81bedc7e92093b1826c7b1805f268e4b - 0.0% (1.36 KB)
[#005] sha256:0b644cbccc7f2eef96985586aac11a955e2f7e5c1d23b987670f68176a781ac5 - 0.0% (1.31 KB)
[#006] sha256:58d569c8b65f652cd16bd74c25c4bf09d76a0188a6561b5fdddfd6ff81b6b0f4 - 18.25% (745 MB)
[#007] sha256:e044595172339ea757f7847734a8a7e3c674f6e371b4f0140c63de7b32356e16 - 0.0% (1.3 KB)
[#008] sha256:b42a3a52d8cf08c1da35b5caf6d2a501590e9163f9b72273d941ee9f1248c019 - 0.0% (1.29 KB)
[#009] sha256:30103fba760b973a29b904083c758476895cb279d90f075764040b554e830f33 - 0.0% (1.29 KB)
Apply image 10.0.26100.2605
2025-08-10 03:12:45 UTCInstall update 10.0.26100.4946
2025-08-12 20:27:48 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop';]
2025-08-12 20:27:49 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_VERSION=8.0.13-rc2
2025-08-12 20:27:49 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_URL=https://fastdl.mongodb.org/windows/mongodb-windows-x86_64-8.0.13-rc2-signed.msi
2025-08-12 20:27:50 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_SHA256=aa48916bf08235c6b9047cfc9767c7e0a45d5f9f19ec07055aef0953005a2bd2
2025-08-12 20:28:44 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.';
2025-08-12 20:28:45 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) VOLUME [C:\data\db C:\data\configdb]
2025-08-12 20:28:45 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) EXPOSE 27017
2025-08-12 20:28:46 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.