2021-10-14 01:53:13 UTC
6.06 GB
aa2eef8fbf94a91428da1ec9cd61acd7e44612e2ae35ae616aefe0a8f93cf282
MONGO_DOWNLOAD_URLhttps://fastdl.mongodb.org/windows/mongodb-windows-x86_64-4.4.9-signed.msi
MONGO_VERSION4.4.9
[#000] sha256:3889bb8d808bbae6fa5a33e07093e65c31371bcf9e4c38c21be6b9af52ad1548 - 62.52% (3.79 GB)
[#001] sha256:0c776a8e8e3c02d360995b7fa26a3fd7c0928965795fac57b69ff07418ab07bf - 33.84% (2.05 GB)
[#002] sha256:4d3c52a3fe41298469bd9ca8471cd22a349f75bf82b049e968c97dd7cbf538b9 - 0.0% (1.39 KB)
[#003] sha256:e4bb7b628d46a541a810cbf9197316b4825361aa78947da56e813c07fa45f533 - 0.0% (1.4 KB)
[#004] sha256:d40277943be70500b349505c514bca4b9ee7b9dc032552340b817ea0d8ef99d2 - 0.0% (1.39 KB)
[#005] sha256:d079160e71b298655b96aebc3acf7ba36dfa435f38483cbcfa52b5fd19dc9423 - 0.0% (1.41 KB)
[#006] sha256:afd423642b6f667e1b8943b04d6910fcfee3564211445b31843ce34810e70768 - 3.64% (226 MB)
[#007] sha256:828a68ef2e036a37cd3459bf3eaabe11650faecf81f913829df60164944ff852 - 0.0% (1.38 KB)
[#008] sha256:1b8eb85a02d7214f11087b33c9505f82929572b7c977faf0f8ba4548bfe9ee92 - 0.0% (1.35 KB)
[#009] sha256:d50ead6ba347c775a6f28ab721b54e3a9e9e57e2fbb72e252cd6c05f86c984e5 - 0.0% (1.37 KB)
Apply image 1607-RTM-amd64
2021-10-06 21:16:00 UTCInstall update ltsc2016-amd64
2021-10-13 00:39:24 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop';]
2021-10-14 01:50:44 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_VERSION=4.4.9
2021-10-14 01:50:45 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_URL=https://fastdl.mongodb.org/windows/mongodb-windows-x86_64-4.4.9-signed.msi
2021-10-14 01:50:46 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_SHA256=aa2eef8fbf94a91428da1ec9cd61acd7e44612e2ae35ae616aefe0a8f93cf282
2021-10-14 01:53:09 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,MiscellaneousTools,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-10-14 01:53:11 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) VOLUME [C:\data\db C:\data\configdb]
2021-10-14 01:53:12 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) EXPOSE 27017
2021-10-14 01:53:13 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) CMD ["mongod" "--bind_ip_all"]