2022-01-12 04:31:48 UTC
6.12 GB
b10879892c9729e55bd347f6084d2783e295d3bd041167e62a5d1da6538dd6ef
MONGO_DOWNLOAD_URLhttps://fastdl.mongodb.org/win32/mongodb-win32-x86_64-2012plus-4.2.18-signed.msi
MONGO_VERSION4.2.18
[#000] sha256:3889bb8d808bbae6fa5a33e07093e65c31371bcf9e4c38c21be6b9af52ad1548 - 61.97% (3.79 GB)
[#001] sha256:8428508ffd63b4af1ba690ec41e82a116f10ec6c3fb70962348f5448d42e5835 - 33.62% (2.06 GB)
[#002] sha256:25aec0a6b64c784bf7521344203ee5def4d38eedfdd68f4b452d3250b5b9ddcf - 0.0% (1.3 KB)
[#003] sha256:a37ac6db3cc1d6cbd1adb818181a73c7ba407d84844ebaaa0263008128f04924 - 0.0% (1.37 KB)
[#004] sha256:2165f7ce037aa70924b1cac629ba998f4d41172af40dedfe1e42e3d68c93979c - 0.0% (1.4 KB)
[#005] sha256:2f2dfe89ca258be399c63988a40f0a3e475486226d4e549fa40b7b086389ff40 - 0.0% (1.35 KB)
[#006] sha256:948cc31f9815ffc8a5817842671896886854f25ee3d6bb51b5716f991250a363 - 4.4% (276 MB)
[#007] sha256:8c4c5d56ed72f94d87f7d97157b42e3a45845693c99dd96d4c5c133ab688864d - 0.0% (1.38 KB)
[#008] sha256:afd73eecab60b8fe98064c9286a40300fe1ae795a4830b4145f606027dd3dd5b - 0.0% (1.39 KB)
[#009] sha256:62333a61fdf51dac7a9a862f0b6ffd1e140eb7a54c858f090789b4bf3f7cd567 - 0.0% (1.39 KB)
Apply image 1607-RTM-amd64
2022-01-06 14:33:00 UTCInstall update ltsc2016-amd64
2022-01-11 19:57:39 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop';]
2022-01-12 04:28:24 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_VERSION=4.2.18
2022-01-12 04:28:25 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_URL=https://fastdl.mongodb.org/win32/mongodb-win32-x86_64-2012plus-4.2.18-signed.msi
2022-01-12 04:28:26 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_SHA256=b10879892c9729e55bd347f6084d2783e295d3bd041167e62a5d1da6538dd6ef
2022-01-12 04:31:44 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.';
2022-01-12 04:31:46 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) VOLUME [C:\data\db C:\data\configdb]
2022-01-12 04:31:47 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) EXPOSE 27017
2022-01-12 04:31:48 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) CMD ["mongod" "--bind_ip_all"]