2020-11-11 22:28:42 UTC
6.08 GB
73bd155ae0a073acda0c4737b40733f5d84afcfbc985a6e61736076e0ef768a2
MONGO_DOWNLOAD_URLhttps://fastdl.mongodb.org/win32/mongodb-win32-x86_64-2012plus-4.2.10-signed.msi
MONGO_VERSION4.2.10
[#000] sha256:3889bb8d808bbae6fa5a33e07093e65c31371bcf9e4c38c21be6b9af52ad1548 - 62.36% (3.79 GB)
[#001] sha256:4830fb08bc2df7ae80548c349b880c263ea87a7b93e13ecbc77c862b6e179558 - 26.06% (1.58 GB)
[#002] sha256:9affba5fa493b09d48e6bd56c0d7b0eb03d1dbaa80493dd08cb18a3c9ddfbb67 - 0.0% (1.14 KB)
[#003] sha256:d41f5ab43050cb00c3526da0ef42974faaeb3819fa6b5418714de8aa0a90be21 - 0.0% (1.1 KB)
[#004] sha256:624d7acdee78f499b83c9ef8eeea6ab580f00d0e5524a10c509cf59f5ccbf6db - 0.0% (1.1 KB)
[#005] sha256:30b035cd0518726950b98c0d43b75a33f656546e37f846de5b184f529e2fe3f4 - 0.0% (1.1 KB)
[#006] sha256:b208655e32dbb79e67da8dbc3f3b7c8c2542f8531b5c6d37b691520bc12b0012 - 11.59% (721 MB)
[#007] sha256:c4d640e0ed22df0984c4a7a09468ab97eef7811fabc1439ab165bc5e6b94ba9f - 0.0% (1.12 KB)
[#008] sha256:4af3345cd7c15fc482b39238720a6e9352459c8d4af99e784debcbde5c41b9f0 - 0.0% (1.12 KB)
[#009] sha256:c5481836076857ea67cf2f8d4ede18ba08cff457241ecf0a2a52f8e067d8878c - 0.0% (1.1 KB)
Apply image 1607-RTM-amd64
2020-10-28 18:03:00 UTCInstall update ltsc2016-amd64
2020-11-11 14:26:40 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop';]
2020-11-11 22:04:56 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_VERSION=4.2.10
2020-11-11 22:04:57 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_URL=https://fastdl.mongodb.org/win32/mongodb-win32-x86_64-2012plus-4.2.10-signed.msi
2020-11-11 22:04:58 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_SHA256=73bd155ae0a073acda0c4737b40733f5d84afcfbc985a6e61736076e0ef768a2
2020-11-11 22:28:36 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:\windows\installer\*.msi -Force; Remove-Item mongo.msi -Force; Write-Host 'Complete.';
2020-11-11 22:28:40 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) VOLUME [C:\data\db C:\data\configdb]
2020-11-11 22:28:41 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) EXPOSE 27017
2020-11-11 22:28:42 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) CMD ["mongod" "--bind_ip_all"]