2022-08-17 00:19:12 UTC
2.72 GB
9d11a50f88ca1be781b76c9501bddd358e6acb9d06503410b7e9e415bd3d4c45
MONGO_DOWNLOAD_URLhttps://fastdl.mongodb.org/windows/mongodb-windows-x86_64-4.4.16-rc0-signed.msi
MONGO_VERSION4.4.16-rc0
[#000] sha256:b111c3320c949bea81612bf4554f1b6592c2f504920b5bf57ba340a1d4d52c93 - 64.25% (1.75 GB)
[#001] sha256:294d77ac553d7210b662d07674ef9e39a6c2e88dc15b9d2788d51e509bc8b54e - 27.4% (763 MB)
[#002] sha256:da71148bcd96afa7027d6172acee93aad6002bfbe87cadf468260667c09b3a89 - 0.0% (1.4 KB)
[#003] sha256:f435f2720b39075ca655f94b762f4117d2cb51f35bcd5f262b4ecf22b1cbf269 - 0.0% (1.35 KB)
[#004] sha256:bd90d78b2c486dccc8d2e27cee0bbfd3dbbf931504d1891738badfaadee8a81e - 0.0% (1.41 KB)
[#005] sha256:5657a52106dc0f6f5fd2ba66420847d8a5775fe151fbf7dc7dd40b6f7b0fd1f9 - 0.0% (1.4 KB)
[#006] sha256:1ef95f5f18945205821f2d35e5dbe79174ccc1986de8e6d773b8917ab2f4588e - 8.35% (233 MB)
[#007] sha256:eb5714a1c639ac8d64d35ae896881911b4b5fcb3f47987c1f6996416328458d6 - 0.0% (1.39 KB)
[#008] sha256:6832598eaf5ef581a7eec2d86f4621f2a02fa175ba93d9769f85010e78ce4648 - 0.0% (1.38 KB)
[#009] sha256:d0c5fe47fbeee984cb2bcef3ffa1cebd59a12f6f3d20d778f488d4ed785bfdba - 0.0% (1.36 KB)
Apply image 10.0.17763.2803
2022-08-06 18:30:32 UTCInstall update 10.0.17763.3287
2022-08-10 13:44:07 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop';]
2022-08-17 00:17:03 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_VERSION=4.4.16-rc0
2022-08-17 00:17:04 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_URL=https://fastdl.mongodb.org/windows/mongodb-windows-x86_64-4.4.16-rc0-signed.msi
2022-08-17 00:17:05 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_SHA256=9d11a50f88ca1be781b76c9501bddd358e6acb9d06503410b7e9e415bd3d4c45
2022-08-17 00:19:09 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=Client,MiscellaneousTools,Router,ServerNoService' ); if (-Not (Test-Path C:\mongodb\bin\mongo.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 ' mongo --version'; mongo --version; Write-Host ' mongod --version'; mongod --version; Write-Host 'Removing ...'; Remove-Item C:\windows\installer\*.msi -Force; Remove-Item mongo.msi -Force; Write-Host 'Complete.';
2022-08-17 00:19:10 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) VOLUME [C:\data\db C:\data\configdb]
2022-08-17 00:19:11 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) EXPOSE 27017
2022-08-17 00:19:12 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.