2024-10-09 23:02:17 UTC
2.48 GB
303e766388b9965ce5ee40f01df921275fbd53da7ba3d729c8767c4d0de0ce8b
MONGO_DOWNLOAD_URLhttps://fastdl.mongodb.org/windows/mongodb-windows-x86_64-8.0.1-signed.msi
MONGO_VERSION8.0.1
[#000] sha256:803f4a9590cb9c635813cbd0ee89190f92d5fe4c7589711cf468879e42ce02ba - 64.48% (1.6 GB)
[#001] sha256:eec1ab8e4a3936959c2381d3aaa9aaf9caf01f82fb701f2b4c3cc3dbf6d035dd - 6.81% (173 MB)
[#002] sha256:e63b93b0bdcdeab3146d2d74645398fa6939e3b0f435c5d1f70461dbbb128c2c - 0.0% (1.27 KB)
[#003] sha256:9ca0531cd4572a2f793f2fc7e75abf1e3a85faaeacae0b184c784d882906e674 - 0.0% (1.26 KB)
[#004] sha256:5b2e6454a4597fc0e2a3b0050240f7bbbdf3db05331705a621d8f372992a3913 - 0.0% (1.27 KB)
[#005] sha256:262a85d86e89be080b224b7cf593e4566cb8263ace525b74104740a56d37390a - 0.0% (1.29 KB)
[#006] sha256:e9125bf5d50ab579bbfcc1751ab8a3a26452ef2ef1c49422274f82034eabf704 - 28.71% (730 MB)
[#007] sha256:e35e8f8ae99c713c471408b0093337344f41d8ad45ffe0e5c8aea7d98ffe8f6d - 0.0% (1.25 KB)
[#008] sha256:a6be9a9170f421e71cb48120cd5be3c92b8e96042ac1b8d27ab94b6348bf7ba3 - 0.0% (1.27 KB)
[#009] sha256:5451e07c019eea53475035504eaf2dec4a17868d56625cffb41b615440a42b35 - 0.0% (1.26 KB)
Apply image 10.0.17763.6293
2024-10-04 21:48:44 UTCInstall update 10.0.17763.6414
2024-10-09 23:00:32 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop';]
2024-10-09 23:00:33 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_VERSION=8.0.1
2024-10-09 23:00:33 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_URL=https://fastdl.mongodb.org/windows/mongodb-windows-x86_64-8.0.1-signed.msi
2024-10-09 23:00:34 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_SHA256=303e766388b9965ce5ee40f01df921275fbd53da7ba3d729c8767c4d0de0ce8b
2024-10-09 23:02:14 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-10-09 23:02:15 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) VOLUME [C:\data\db C:\data\configdb]
2024-10-09 23:02:16 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) EXPOSE 27017
2024-10-09 23:02:17 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.