2022-09-14 18:26:52 UTC
2.41 GB
671121e8f68ef864762fffdbbfdbfc23f7e8c0094e0087d41c9eae4f3c0c635e
MONGO_DOWNLOAD_URLhttps://fastdl.mongodb.org/windows/mongodb-windows-x86_64-4.4.17-rc0-signed.msi
MONGO_VERSION4.4.17-rc0
[#000] sha256:97f65a0ec59e643faf84024aa713a9be059322380315fda829756bbbd96d6258 - 55.45% (1.34 GB)
[#001] sha256:4486102fd3820ed9527fa3e7bfefa8305c2f054e65b46dffe9675755e3d8f288 - 35.12% (868 MB)
[#002] sha256:a16438b2cffe7980c606769d49003f7f1c4d27549445f824511a81834513616a - 0.0% (1.39 KB)
[#003] sha256:83e8dec508eaaf92071ed424bbc756eb68c0df4f480ccd27062ffab903ea82c0 - 0.0% (1.39 KB)
[#004] sha256:088644bdd7c58a12ed7506fab295fdc98e71efe64f4d1e884151f5ead7fb89c9 - 0.0% (1.4 KB)
[#005] sha256:9f5133e33a7c6ff3f2bc2e3791d2d2d3f28b5a98532b36c8b3d4cfba0cdf99c0 - 0.0% (1.41 KB)
[#006] sha256:662cba6609945b329f9de9a6f2c21a14500bee8180b30088cb0b661627ad79ee - 9.42% (233 MB)
[#007] sha256:9d10b773b919378e45daa1c89feeff8d8716f5b08e9dee292b943e2b29312f7e - 0.0% (1.38 KB)
[#008] sha256:294dbebb4bbb63abab17177a566820f7ce3ee00e529e98d8fa6cfddcd56915ba - 0.0% (1.39 KB)
[#009] sha256:4aa0776209bd741514d1c707308cdd96677a56c3a86676ff28aec1347358001c - 0.0% (1.36 KB)
Apply image 10.0.20348.643
2022-09-08 20:30:55 UTCInstall update 10.0.20348.1006
2022-09-14 13:31:04 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop';]
2022-09-14 18:25:30 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_VERSION=4.4.17-rc0
2022-09-14 18:25:31 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_URL=https://fastdl.mongodb.org/windows/mongodb-windows-x86_64-4.4.17-rc0-signed.msi
2022-09-14 18:25:32 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_SHA256=671121e8f68ef864762fffdbbfdbfc23f7e8c0094e0087d41c9eae4f3c0c635e
2022-09-14 18:26:49 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\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 ' 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-09-14 18:26:50 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) VOLUME [C:\data\db C:\data\configdb]
2022-09-14 18:26:51 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) EXPOSE 27017
2022-09-14 18:26:52 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.