2025-11-11 19:26:44 UTC
2.22 GB
8be9bf03ebe6b363c85cb39e8830a36471c2e80af213317bc1563666ab408af2
MONGO_DOWNLOAD_URLhttps://fastdl.mongodb.org/windows/mongodb-windows-x86_64-7.0.26-rc0-signed.msi
MONGO_VERSION7.0.26-rc0
[#000] sha256:3cc21a1b754848d23f00aa65cb94ec34c9a5dc6028b3aada42039c824738d02f - 62.34% (1.39 GB)
[#001] sha256:3a26269efcb0f33c920b21f98d305592e7310bbe548291a16043e48a0c1feba5 - 11.76% (268 MB)
[#002] sha256:67ca772440cc0ce8e0b56b002cfb0bcf9e7d4239c09363542b5dc2fe5f41b368 - 0.0% (1.3 KB)
[#003] sha256:8a109a0876c3e8d329eec4d988e6d9a62a0c0d12ac8c0fa0e42c56f6100f044f - 0.0% (1.31 KB)
[#004] sha256:85a19c3a20c9340b375828bdd22041269bb031075d2d82a39babd19ba4f97b63 - 0.0% (1.3 KB)
[#005] sha256:02ee8f33cc51245f6aa332e37386fd84f643069142c401daaa311a1b109e46ff - 0.0% (1.29 KB)
[#006] sha256:e8686a2e3a5bdd0e9792eefb114b840de9fa02ba48f9d7973abf0bd94eb2f033 - 25.9% (590 MB)
[#007] sha256:33d08e5503ffaa5970817fb81a3fb8e692469f866a0535fe716daa00844a3287 - 0.0% (1.3 KB)
[#008] sha256:89e101dde6290e7ffd8f7c34235e2f24457c1b866a5144d2fbdfb181b311edf4 - 0.0% (1.26 KB)
[#009] sha256:da61ebb71f684f428719b42771a48a0b1514c624abde772bd1cedf9fe15ee88d - 0.0% (1.3 KB)
Apply image 10.0.20348.4294
2025-11-05 05:39:13 UTCInstall update 10.0.20348.4405
2025-11-11 19:19:07 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop';]
2025-11-11 19:25:02 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_VERSION=7.0.26-rc0
2025-11-11 19:25:03 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_URL=https://fastdl.mongodb.org/windows/mongodb-windows-x86_64-7.0.26-rc0-signed.msi
2025-11-11 19:25:04 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_SHA256=8be9bf03ebe6b363c85cb39e8830a36471c2e80af213317bc1563666ab408af2
2025-11-11 19:26:40 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-11-11 19:26:42 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) VOLUME [C:\data\db C:\data\configdb]
2025-11-11 19:26:44 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) EXPOSE 27017
2025-11-11 19:26:44 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.