2020-07-15 16:25:24 UTC
5.43 GB
d6a17f96adcda714f523a4b119419b8bf93269542acee70e2b5e899d6d93efdc
MONGO_DOWNLOAD_URLhttps://fastdl.mongodb.org/win32/mongodb-win32-x86_64-2008plus-ssl-3.6.18-signed.msi
MONGO_VERSION3.6.18
[#000] sha256:3889bb8d808bbae6fa5a33e07093e65c31371bcf9e4c38c21be6b9af52ad1548 - 69.8% (3.79 GB)
[#001] sha256:802c4beb8b091968ccf1bb4a853ded7955ddb79e6f8775a5155cb5ed07dcbcab - 28.6% (1.55 GB)
[#002] sha256:3393eecaf56a66035ab178b379bacf81d30373b630b34b2973501f259aadb0f6 - 0.0% (1.1 KB)
[#003] sha256:9fd8daf6ced592ebbb1f3bdd46dffbae65454d6f40f3090dae6bb01615d2c742 - 0.0% (1.1 KB)
[#004] sha256:bf1ad4ae9b1028038586d8efe0c63a7d09199f67a47c039fcbf5a19891a23654 - 0.0% (1.13 KB)
[#005] sha256:9db3484a811b8bc81c661b43389dfd857641d07c157f5e875884f7151a908b92 - 0.0% (1.08 KB)
[#006] sha256:eb574ada0a2f25713005c9546f76680f96672221b3f5ab6317e6d10811c54f2d - 1.6% (89.2 MB)
[#007] sha256:9ec7596bd09552af536f7173900eded30c4f60ed26bed62d010550b977f78cf7 - 0.0% (1.1 KB)
[#008] sha256:6445eee1e3992f481011f0b05451a38102cf592835f3011e3f2577c8abd7ee05 - 0.0% (1.13 KB)
[#009] sha256:67d968dde3cd279d33700c077e1702b7b37254d269b6cdfdc300e2adef36656a - 0.0% (1.15 KB)
Apply image 1607-RTM-amd64
2020-07-07 21:05:00 UTCInstall update ltsc2016-amd64
2020-07-15 12:24:48 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop';]
2020-07-15 16:11:34 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_VERSION=3.6.18
2020-07-15 16:11:35 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_URL=https://fastdl.mongodb.org/win32/mongodb-win32-x86_64-2008plus-ssl-3.6.18-signed.msi
2020-07-15 16:11:35 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_SHA256=d6a17f96adcda714f523a4b119419b8bf93269542acee70e2b5e899d6d93efdc
2020-07-15 16:25:21 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-07-15 16:25:22 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) VOLUME [C:\data\db C:\data\configdb]
2020-07-15 16:25:23 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) EXPOSE 27017
2020-07-15 16:25:24 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) CMD ["mongod" "--bind_ip_all"]