2024-08-22 01:04:53 UTC
2.56 GB
aac4412844e7e2d21e28c885787c1e8a8c04348af72a65dab2e566f9013fc942
MONGO_DOWNLOAD_URLhttps://fastdl.mongodb.org/windows/mongodb-windows-x86_64-7.0.14-rc0-signed.msi
MONGO_VERSION7.0.14-rc0
[#000] sha256:7c76e5cf7755ce357ffb737715b0da6799a50ea468cc252c094f4d915d426b3f - 50.47% (1.29 GB)
[#001] sha256:dcd649075383e8df03ea713dfe59e1205716fbaa14450c10ef0d0a24a7b63669 - 27.38% (718 MB)
[#002] sha256:9941e11e1eafd1a47095fc92f8493f5701f15fa4ff28f14f76b3c66818dd9516 - 0.0% (1.28 KB)
[#003] sha256:25e90fd900c41dbb4d451e4bc3db0bd5e3357279bfe7fbe94fc99e1861788f81 - 0.0% (1.25 KB)
[#004] sha256:7dd5a2737f02f7668d3285d5a466734d6888a4b58096f43eccb0c6d37246d386 - 0.0% (1.25 KB)
[#005] sha256:b8db8fb616d375b2ea0c090b17013b1d0e83593ba4b903653d239d93c86529df - 0.0% (1.25 KB)
[#006] sha256:7e3c4bab0a9f5d358dd1dcb21a2f5f3b22ea9b1c8a73d33412e52f357bfdb1e2 - 22.15% (581 MB)
[#007] sha256:aa908e4b9ad0948df54614767d13c9ff74955f36bd31a094d7d97d671ba89321 - 0.0% (1.25 KB)
[#008] sha256:6894165f42c5440d9c7e82239b184f9474baf58436f8327e9090924b29b546ef - 0.0% (1.25 KB)
[#009] sha256:484458f00b01408bc335158e4c18ce8e7ca7aaafb13a4a05dd03c806c0eb7b99 - 0.0% (1.25 KB)
Apply image 10.0.20348.1787
2024-08-10 19:49:59 UTCInstall update 10.0.20348.2655
2024-08-22 01:03:28 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop';]
2024-08-22 01:03:29 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_VERSION=7.0.14-rc0
2024-08-22 01:03:29 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_URL=https://fastdl.mongodb.org/windows/mongodb-windows-x86_64-7.0.14-rc0-signed.msi
2024-08-22 01:03:30 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_SHA256=aac4412844e7e2d21e28c885787c1e8a8c04348af72a65dab2e566f9013fc942
2024-08-22 01:04:50 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.';
2024-08-22 01:04:51 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) VOLUME [C:\data\db C:\data\configdb]
2024-08-22 01:04:52 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) EXPOSE 27017
2024-08-22 01:04:53 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.