2020-09-09 21:01:18 UTC
5.39 GB
ab326721c480dfafe0d0c3c1489c25e3a411b86e830dd91151b5ae24b8c9d508
MONGO_DOWNLOAD_URLhttps://fastdl.mongodb.org/windows/mongodb-windows-x86_64-4.4.0-signed.msi
MONGO_VERSION4.4.0
[#000] sha256:3889bb8d808bbae6fa5a33e07093e65c31371bcf9e4c38c21be6b9af52ad1548 - 70.31% (3.79 GB)
[#001] sha256:bc202b498d589027cc702b23cf959b8842907508b3465b9d6ff739c9668e5134 - 28.83% (1.55 GB)
[#002] sha256:c1d56eeebea105bba2dd1879a89adb012f98cf42708c0f36ca4af683db7162a2 - 0.0% (1.1 KB)
[#003] sha256:b7f06a645024bbeaed7cf528bc04536c9d8a51902c503a5659b4e0dbba1aead7 - 0.0% (1.13 KB)
[#004] sha256:b22cc93b81b3ca6aa6b6a16e2f921f6413812bc72daa6d03c047da681ce48924 - 0.0% (1.1 KB)
[#005] sha256:e75a57ce8523040245fe75d748b18541af866414b2d5ee0e0d3909a58560aeda - 0.0% (1.13 KB)
[#006] sha256:96fb4a24465524a5f09969f9abc746d31c56c169a26136f95d49bf93136b9cc5 - 0.86% (47.5 MB)
[#007] sha256:df3d0fc9c1431aa06edd850ad06e87dfb68ecb153976dfee10bdb12678151f28 - 0.0% (1.1 KB)
[#008] sha256:a134c677cecd2a2072dc6339c3ffdef30bea306fe825ef8a94e2f4804b9b08ba - 0.0% (1.1 KB)
[#009] sha256:0b1c2cb50cb177c8af6be57d72a66dd847a954c25dc951600ab53cb8837d1dfd - 0.0% (1.14 KB)
Apply image 1607-RTM-amd64
2020-09-01 19:14:00 UTCInstall update ltsc2016-amd64
2020-09-09 13:23:04 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop';]
2020-09-09 20:58:02 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_VERSION=4.4.0
2020-09-09 20:58:03 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_URL=https://fastdl.mongodb.org/windows/mongodb-windows-x86_64-4.4.0-signed.msi
2020-09-09 20:58:03 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_SHA256=ab326721c480dfafe0d0c3c1489c25e3a411b86e830dd91151b5ae24b8c9d508
2020-09-09 21:01:16 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', 'INSTALLLOCATION=C:\mongodb', 'ADDLOCAL=all' ); $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:\mongodb\bin\*.pdb -Force; Remove-Item C:\windows\installer\*.msi -Force; Remove-Item mongo.msi -Force; Write-Host 'Complete.';
2020-09-09 21:01:17 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) VOLUME [C:\data\db C:\data\configdb]
2020-09-09 21:01:18 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) EXPOSE 27017
2020-09-09 21:01:18 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.