2019-10-09 23:27:38 UTC
5.41 GB
f1a4f3771563a747a26d8a22990483dcfb6a0f68026672edd5996fdbee35cbcc
MONGO_DOWNLOAD_URLhttps://downloads.mongodb.org/win32/mongodb-win32-x86_64-2012plus-4.2.0-signed.msi
MONGO_VERSION4.2.0
[#000] sha256:3889bb8d808bbae6fa5a33e07093e65c31371bcf9e4c38c21be6b9af52ad1548 - 70.0% (3.79 GB)
[#001] sha256:b4f320e456fcdbb0a55de06f153ad96f144c8c14e452ac7f20896ce2509d170f - 28.4% (1.54 GB)
[#002] sha256:29c2f8f4d6816f29c915ea3b2b780c2f4df1eba46b16d0b1a33b59c62c1953c1 - 0.0% (1.18 KB)
[#003] sha256:32a6598cf0fc3f1c6b394257a24ab5455661ad2c7f55fb86f0325ac13c9a9637 - 0.0% (1.16 KB)
[#004] sha256:dbdcc43f0445d0af0f46ec39d4e7da44e401635a653c5ab9401809c6780d96eb - 0.0% (1.16 KB)
[#005] sha256:25df49f10441978d4fd12e8099bace722f2176610c8e3e451ca04d0f99e333bb - 0.0% (1.17 KB)
[#006] sha256:9bd891c766b7e831555021f22a1e4d09b498f214ea1317da20bba8cff6e1270c - 1.6% (88.6 MB)
[#007] sha256:be57d9350215dfcdec4dc66ab82258e02fa543687cde7fb7867455f896520858 - 0.0% (1.16 KB)
[#008] sha256:44e2e2d88ce4d7a47191b3a15f0e29275e9e66fd04457f00ab49bdba0b1cb7b3 - 0.0% (1.18 KB)
[#009] sha256:a65fd2837c07aa8b9ad4430024650b8ebcf7391b85baceb9eba41279801f4093 - 0.0% (1.16 KB)
Apply image 1607-RTM-amd64
2019-10-05 16:15:00 UTCInstall update ltsc2016-amd64
2019-10-09 14:39:48 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop';]
2019-10-09 23:18:16 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_VERSION=4.2.0
2019-10-09 23:18:17 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_URL=https://downloads.mongodb.org/win32/mongodb-win32-x86_64-2012plus-4.2.0-signed.msi
2019-10-09 23:18:18 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_SHA256=f1a4f3771563a747a26d8a22990483dcfb6a0f68026672edd5996fdbee35cbcc
2019-10-09 23:27:33 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'); 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.';
2019-10-09 23:27:35 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) VOLUME [C:\data\db C:\data\configdb]
2019-10-09 23:27:37 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) EXPOSE 27017
2019-10-09 23:27:38 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) CMD ["mongod" "--bind_ip_all"]