2021-03-10 22:01:34 UTC
5.61 GB
6a6df36f18828416d73e81533a10308eba1112a8d1c1849d05714c0e0c326d21
MONGO_DOWNLOAD_URLhttps://fastdl.mongodb.org/win32/mongodb-win32-x86_64-2008plus-ssl-3.6.22-signed.msi
MONGO_VERSION3.6.22
[#000] sha256:3889bb8d808bbae6fa5a33e07093e65c31371bcf9e4c38c21be6b9af52ad1548 - 67.53% (3.79 GB)
[#001] sha256:30bda99601c5cbd3b2118409f401852ea648e2319bd81518723e476b28d764c5 - 28.65% (1.61 GB)
[#002] sha256:5205e01a19ce3835a7f1caba14b71dbbcae05a77274c60358d9794ee0e2a3e65 - 0.0% (1.37 KB)
[#003] sha256:7b364755ec3e189e0c359c957975dc8d0de1c5b8e8470bc71af79516513d849b - 0.0% (1.38 KB)
[#004] sha256:c430dbcaf8dadb9d31eb013064422e6dd7490148f3d183199b10014469fd6e6d - 0.0% (1.39 KB)
[#005] sha256:f23867412164a4ceb2ab5bee0813b87434c5de0ca1e8404137eacead4d363413 - 0.0% (1.35 KB)
[#006] sha256:a881cf2f27697cb950f74881148dd73620868fadf34d09bda36716aa3de7ef15 - 3.81% (219 MB)
[#007] sha256:6af756290cf275b35ba3e9421903f3e3b3e5c10b4e61fea1bf7dbce7f34723cf - 0.0% (1.4 KB)
[#008] sha256:b7d14e525ddf5e4b32b20d0c2f360dcfd8da439ff10d09d424563cbd2d9de153 - 0.0% (1.37 KB)
[#009] sha256:c63a820e43c5145d8bc34ad728b4c13a0249c288dd1dd188ac83e39113801884 - 0.0% (1.39 KB)
Apply image 1607-RTM-amd64
2021-03-03 18:02:00 UTCInstall update ltsc2016-amd64
2021-03-10 14:25:01 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop';]
2021-03-10 21:58:32 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_VERSION=3.6.22
2021-03-10 21:58:33 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_URL=https://fastdl.mongodb.org/win32/mongodb-win32-x86_64-2008plus-ssl-3.6.22-signed.msi
2021-03-10 21:58:35 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_SHA256=6a6df36f18828416d73e81533a10308eba1112a8d1c1849d05714c0e0c326d21
2021-03-10 22:01:30 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=Server,Client,Router,MiscellaneousTools,MonitoringTools,ImportExportTools' ); 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-03-10 22:01:31 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) VOLUME [C:\data\db C:\data\configdb]
2021-03-10 22:01:33 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) EXPOSE 27017
2021-03-10 22:01:34 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) CMD ["mongod" "--bind_ip_all"]