2021-12-18 08:19:24 UTC
2.26 GB
9b9d898d04edb94073fbd5efe028a9aef40eab0e5354c527cb30ef8e6a7e729c
MONGO_DOWNLOAD_URLhttps://fastdl.mongodb.org/windows/mongodb-windows-x86_64-4.4.11-rc0-signed.msi
MONGO_VERSION4.4.11-rc0
[#000] sha256:8f616e6e9eec767c425fd9346648807d1b658d20ff6097be1d955aac69c26642 - 51.59% (1.17 GB)
[#001] sha256:4d1d74adc6a92e44b3cd592ec9459f1fff926eaf6fc20bb7526360bec71aefc0 - 38.7% (896 MB)
[#002] sha256:3c1de582c6c9c68cde1be202b853d6f5b2dae10020d41c1402bdaede850c77e8 - 0.0% (1.29 KB)
[#003] sha256:0a056a61312274e7deb60b2cf5e806a488ad02c50ae2b24436e3c3063c85a83f - 0.0% (1.4 KB)
[#004] sha256:ea2bafcfaba3032c6b89ae4e1b468d602447ac372beeb9487fbcf15d2f4eb180 - 0.0% (1.39 KB)
[#005] sha256:7339ea0973de2c3f5bcc228bd227540c483e9c6f54bd313706202a6a3f0a3706 - 0.0% (1.39 KB)
[#006] sha256:4543ced1c1681977c0545cc85c6022ac507d5805e2faa54068b0efd434eef1f8 - 9.71% (225 MB)
[#007] sha256:585fd0ae1868785cd064edb02d548095c8ef32f1fe8b308e93c550448d9b7e5d - 0.0% (1.4 KB)
[#008] sha256:317776d0eaa1c87537f027d823b0e498049c39d7551d6b5be1bb27d4a5d9bb04 - 0.0% (1.38 KB)
[#009] sha256:2665446f6c026d915e4abdc81052586c6aee47090ebab26f781e69b8286fb579 - 0.0% (1.41 KB)
Apply image 2022-RTM-amd64
2021-12-08 01:54:07 UTCInstall update ltsc2022-amd64
2021-12-18 08:07:56 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop';]
2021-12-18 08:17:48 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_VERSION=4.4.11-rc0
2021-12-18 08:17:48 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_URL=https://fastdl.mongodb.org/windows/mongodb-windows-x86_64-4.4.11-rc0-signed.msi
2021-12-18 08:17:50 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_SHA256=9b9d898d04edb94073fbd5efe028a9aef40eab0e5354c527cb30ef8e6a7e729c
2021-12-18 08:19:20 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.';
2021-12-18 08:19:22 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) VOLUME [C:\data\db C:\data\configdb]
2021-12-18 08:19:23 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) EXPOSE 27017
2021-12-18 08:19:24 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.