2022-01-03 19:18:48 UTC
2.27 GB
b4017f5fc5f4efeb6ad2fd0c11d1d62c812c1bba1790a059f46621253704d759
MONGO_DOWNLOAD_URLhttps://fastdl.mongodb.org/windows/mongodb-windows-x86_64-4.4.12-rc0-signed.msi
MONGO_VERSION4.4.12-rc0
[#000] sha256:8f616e6e9eec767c425fd9346648807d1b658d20ff6097be1d955aac69c26642 - 51.44% (1.17 GB)
[#001] sha256:4d1d74adc6a92e44b3cd592ec9459f1fff926eaf6fc20bb7526360bec71aefc0 - 38.59% (896 MB)
[#002] sha256:3c1de582c6c9c68cde1be202b853d6f5b2dae10020d41c1402bdaede850c77e8 - 0.0% (1.29 KB)
[#003] sha256:477564508c053a48cb1105751a7061a4ea9135de89d7561e46b62db0666c9239 - 0.0% (1.38 KB)
[#004] sha256:f7839af7f42e7838d930f18874e002cd855d3c46be0a65f881757e37bae7e5a7 - 0.0% (1.38 KB)
[#005] sha256:6499ef706b10925c568d8addc9dcf9c3f46140114f41ed79f478a8a4ea2d332f - 0.0% (1.37 KB)
[#006] sha256:519d4120754ed29b7dcb76da20891f363542ba711448533bb5de81bb80454fab - 9.97% (231 MB)
[#007] sha256:fabbe766fb75be34f2166f1d4421f5f37f59aced649fe1b6d7eecb9529fc8dc6 - 0.0% (1.39 KB)
[#008] sha256:1fa7bdf8a31f34402f2c5e228698f30100c5b7a871d4776ff7ef4dec37090896 - 0.0% (1.39 KB)
[#009] sha256:57cb8a3aa386572d936a8b8e7828f2a8c1d29f6a5a94bfdd77c00025d659c53a - 0.0% (1.36 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';]
2022-01-03 19:16:38 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_VERSION=4.4.12-rc0
2022-01-03 19:16:39 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_URL=https://fastdl.mongodb.org/windows/mongodb-windows-x86_64-4.4.12-rc0-signed.msi
2022-01-03 19:16:40 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_SHA256=b4017f5fc5f4efeb6ad2fd0c11d1d62c812c1bba1790a059f46621253704d759
2022-01-03 19:18:43 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-01-03 19:18:45 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) VOLUME [C:\data\db C:\data\configdb]
2022-01-03 19:18:47 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) EXPOSE 27017
2022-01-03 19:18:48 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.