2024-12-11 20:40:01 UTC
2.45 GB
561ccc4a3b1d140963f707213d03e0c05c2dace87e9c6ce8fba9c9c5f10ba4dc
MONGO_DOWNLOAD_URLhttps://fastdl.mongodb.org/windows/mongodb-windows-x86_64-7.0.16-rc1-signed.msi
MONGO_VERSION7.0.16-rc1
[#000] sha256:803f4a9590cb9c635813cbd0ee89190f92d5fe4c7589711cf468879e42ce02ba - 65.49% (1.6 GB)
[#001] sha256:3308b54d35b61854238974280a5b0ecc72a98e2ead17d04f42770a7b35407090 - 11.19% (280 MB)
[#002] sha256:0dd86cb35f142033c69b00a98b7f438258f3c486c4a7cecb88278a7ea02d9b0c - 0.0% (1.27 KB)
[#003] sha256:2872861e9081cd9bf55e1c0f8f608c26ccc01a7fb1c5bba99b9f9450a01f614a - 0.0% (1.27 KB)
[#004] sha256:09af21508b6c70cc64ed74d29139261c790e794fd75e011823799177b9c15132 - 0.0% (1.27 KB)
[#005] sha256:f6170a9641ec286972abe9c37f31f05bfe7f68b0833ca7d98534a6e071ab2e60 - 0.0% (1.27 KB)
[#006] sha256:ca905c28fa9b46910e7f5ccdff277cb20c525ffa5edf4ef62dea0f544d5712a4 - 23.32% (584 MB)
[#007] sha256:0bab828669d1e870e64c161336b718187e69b5dff7fb32a40f98c69b788e2548 - 0.0% (1.27 KB)
[#008] sha256:dac5eafc819568fb08980edac5669b3edfd0125f10355b08e9787e44abc1752c - 0.0% (1.26 KB)
[#009] sha256:4c496b83f62d5e1d5d422202d7900f6ea7a501222de7e2e121646d1df0bb573c - 0.0% (1.25 KB)
Apply image 10.0.17763.6293
2024-12-05 05:10:22 UTCInstall update 10.0.17763.6659
2024-12-11 20:37:55 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop';]
2024-12-11 20:37:57 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_VERSION=7.0.16-rc1
2024-12-11 20:37:57 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_URL=https://fastdl.mongodb.org/windows/mongodb-windows-x86_64-7.0.16-rc1-signed.msi
2024-12-11 20:37:58 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_SHA256=561ccc4a3b1d140963f707213d03e0c05c2dace87e9c6ce8fba9c9c5f10ba4dc
2024-12-11 20:39:59 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-12-11 20:40:00 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) VOLUME [C:\data\db C:\data\configdb]
2024-12-11 20:40:01 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) EXPOSE 27017
2024-12-11 20:40:01 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.