2025-05-22 23:18:54 UTC
2.76 GB
fd1ec26bc5e23e26428a7d82a66aceebe581de53499a03f94a20b38aaf1bd1d1
MONGO_DOWNLOAD_URLhttps://fastdl.mongodb.org/windows/mongodb-windows-x86_64-8.0.10-rc0-signed.msi
MONGO_VERSION8.0.10-rc0
[#000] sha256:803f4a9590cb9c635813cbd0ee89190f92d5fe4c7589711cf468879e42ce02ba - 58.12% (1.6 GB)
[#001] sha256:a95a939635fd6bec8c1562dcdbdde2fdb64095d1be9873313939c878db6f7279 - 15.66% (442 MB)
[#002] sha256:cf87c697b16e9fd66beac87a3b44d2bf192d06e43ad85f6cb0df18c9aed702e7 - 0.0% (1.26 KB)
[#003] sha256:84802549714e388fc2e4e239e2f923fb5eb8a2b9fa254d2e8410553546aa1938 - 0.0% (1.26 KB)
[#004] sha256:cff26ade23b64ae7045b3777d730c1343c63ec590bdc619dd382a79e056a5f16 - 0.0% (1.26 KB)
[#005] sha256:6bd43d0f14a2ab18224645b28e12dc74e13528fb1fa3dd98e91c5c716a4eb152 - 0.0% (1.26 KB)
[#006] sha256:b2a2c07c85bea3c34b54850f034b671f56e2a424de3b287c432806e6229baacf - 26.22% (740 MB)
[#007] sha256:10c69742e0de3ce4387623089e674d18d3ac8eb70697bc26be6338e27b4ee743 - 0.0% (1.26 KB)
[#008] sha256:d7e4d74ad058001ee201fd74fd5572ef64a0ef1155dce4a20a5c4ccc2d39e336 - 0.0% (1.27 KB)
[#009] sha256:427fd6b6a46096339917f616cf41237903f95b82eab39f5be7fc20cff78b7518 - 0.0% (1.26 KB)
Apply image 10.0.17763.6293
2025-05-09 13:51:15 UTCInstall update 10.0.17763.7314
2025-05-22 23:16:49 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop';]
2025-05-22 23:16:51 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_VERSION=8.0.10-rc0
2025-05-22 23:16:51 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_URL=https://fastdl.mongodb.org/windows/mongodb-windows-x86_64-8.0.10-rc0-signed.msi
2025-05-22 23:16:52 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_SHA256=fd1ec26bc5e23e26428a7d82a66aceebe581de53499a03f94a20b38aaf1bd1d1
2025-05-22 23:18:52 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-05-22 23:18:53 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) VOLUME [C:\data\db C:\data\configdb]
2025-05-22 23:18:54 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) EXPOSE 27017
2025-05-22 23:18:54 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.