2021-12-18 08:43:21 UTC
6.11 GB
52d2c3c59b2d3b508441538956f6604a066ae959912299b7dd9cc8a33f65696f
MONGO_DOWNLOAD_URLhttps://fastdl.mongodb.org/win32/mongodb-win32-x86_64-2012plus-4.2.18-rc0-signed.msi
MONGO_VERSION4.2.18-rc0
[#000] sha256:3889bb8d808bbae6fa5a33e07093e65c31371bcf9e4c38c21be6b9af52ad1548 - 62.01% (3.79 GB)
[#001] sha256:2d026d646213ccf73d9f0584941d108253d62e73df2a74e070776884b7b0242b - 33.59% (2.05 GB)
[#002] sha256:f6bffd19db3f71ba2031bea25a529c67034869e7e1bbf9e2431d5ee747bd6d6d - 0.0% (1.26 KB)
[#003] sha256:5bc56060c82c0d7c097fc7bcb16597e36ed4c7c43723ed504754beb9740b4590 - 0.0% (1.41 KB)
[#004] sha256:ec654957aa6b1541c4e42d2b5fb9f122315a97669d6766f74085306b834834cc - 0.0% (1.38 KB)
[#005] sha256:38f75296d9e6332c05c0eac6754ad346d7d21662f0d4b14956deb21caf16337f - 0.0% (1.39 KB)
[#006] sha256:e59c8419984ba6b4ec453a55b9c590fe9930e7a54a052f48745a4eb8d19414b1 - 4.4% (276 MB)
[#007] sha256:ca869b727d0efd5d3d56d318ec08ca0db9aad8481d4ede5097886b369d957370 - 0.0% (1.39 KB)
[#008] sha256:cf47a376601fd38302c564a1a74b921a5e3a2fce19571fffc2ad25e13fed24c0 - 0.0% (1.39 KB)
[#009] sha256:3fddf67426db49f5478b77890130a84b2ace4a0adf3e765be0be3b0871069aed - 0.0% (1.33 KB)
Apply image 1607-RTM-amd64
2021-12-08 08:38:00 UTCInstall update ltsc2016-amd64
2021-12-18 01:55:44 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop';]
2021-12-18 08:40:49 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_VERSION=4.2.18-rc0
2021-12-18 08:40:50 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_URL=https://fastdl.mongodb.org/win32/mongodb-win32-x86_64-2012plus-4.2.18-rc0-signed.msi
2021-12-18 08:40:51 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_SHA256=52d2c3c59b2d3b508441538956f6604a066ae959912299b7dd9cc8a33f65696f
2021-12-18 08:43:18 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,ImportExportTools,MiscellaneousTools,MonitoringTools,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:43:19 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) VOLUME [C:\data\db C:\data\configdb]
2021-12-18 08:43:20 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) EXPOSE 27017
2021-12-18 08:43:21 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) CMD ["mongod" "--bind_ip_all"]