2025-09-10 21:59:30 UTC
2.62 GB
b32578a8d982810c6a9a0b2f962bd45053701d97415f901030b796ec93dea75a
MONGO_DOWNLOAD_URLhttps://fastdl.mongodb.org/windows/mongodb-windows-x86_64-6.0.26-signed.msi
MONGO_VERSION6.0.26
[#000] sha256:2534953f34d35976fc44cd67bfdd39fdcd9e2eaae57ada0be53d5fb936cd3a0b - 52.05% (1.36 GB)
[#001] sha256:3b109a50da182bf38f697ad080cf5640df286bdfc5e6a1f2f6b2002c48534385 - 29.19% (782 MB)
[#002] sha256:1710c941774db10121f66574d98ade4e7206453f682a941e5e6845872d4f098d - 0.0% (1.26 KB)
[#003] sha256:02edc6d657dd975561182d5c5d3cc9bdec74fdaf9f310d5f389252a089cb7523 - 0.0% (1.3 KB)
[#004] sha256:e7fe60521c7c3f3a095a521cfbf75ca22160f5f3d0a43a73cb3c375da8c58517 - 0.0% (1.26 KB)
[#005] sha256:ca4d636a420c4ee3d0ca1938c56a6cafbca3af08ed7bd223d4b74c129d8f9164 - 0.0% (1.29 KB)
[#006] sha256:4a913ec9f0bbd5d4650fb866f994b6b77d5007fafdcbecdcbc5f83d2b013c882 - 18.76% (503 MB)
[#007] sha256:e64c32976c118342238e8d259ffe0e75650e42f36a5fc189f13df18b9a9858a9 - 0.0% (1.26 KB)
[#008] sha256:50846b2347cfd8368af85368de3d2cbe639bfef65db878350566d0d907f76b2c - 0.0% (1.26 KB)
[#009] sha256:7bd1753e8c55af9306b2bdbdb4adf4b71ee1cf5413e1c1cc53744cd9cfd12f92 - 0.0% (1.26 KB)
Apply image 10.0.20348.2700
2025-09-05 13:15:05 UTCInstall update 10.0.20348.4171
2025-09-10 20:22:28 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop';]
2025-09-10 21:58:36 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_VERSION=6.0.26
2025-09-10 21:58:36 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_URL=https://fastdl.mongodb.org/windows/mongodb-windows-x86_64-6.0.26-signed.msi
2025-09-10 21:58:37 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_SHA256=b32578a8d982810c6a9a0b2f962bd45053701d97415f901030b796ec93dea75a
2025-09-10 21:59:29 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-09-10 21:59:30 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) VOLUME [C:\data\db C:\data\configdb]
2025-09-10 21:59:30 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) EXPOSE 27017
2025-09-10 21:59:30 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.