2021-08-25 19:51:45 UTC
2.77 GB
503c649f89d096782cacd69059023e81fac37d41a33f1f7a8dfb0fcdef96f318
MONGO_DOWNLOAD_URLhttps://fastdl.mongodb.org/win32/mongodb-win32-x86_64-2012plus-4.2.15-signed.msi
MONGO_VERSION4.2.15
[#000] sha256:4612f6d0b889cad0ed0292fae3a0b0c8a9e49aff6dea8eb049b2386d9b07986f - 57.87% (1.6 GB)
[#001] sha256:c67ded6868b61d392a0c096f911563fd6bc0bc3ed4fe401d077b3718a1b0cdaf - 32.59% (923 MB)
[#002] sha256:985da5cbc0735e1c422e766af23125ba345f431cb337ea43ec32298d0bb8e4ea - 0.0% (1.26 KB)
[#003] sha256:6e25d3baa64922d76857067a4ebe70603ad40ab7b021c3a3025437aefff1bb3f - 0.0% (1.38 KB)
[#004] sha256:957060b0f0b82d773aff875ddf40e1c1f9a5448f5df259e81636d99c6927ad7e - 0.0% (1.41 KB)
[#005] sha256:18d529ea281e4866fd703b8c349285ae4398aa8159631396087edef91f74ea0b - 0.0% (1.36 KB)
[#006] sha256:44f9325aef0ee2ad0fb2d939ad03f0aff4191d74ef56fddb3e19652db45db69f - 9.54% (270 MB)
[#007] sha256:e77c632e2dbe828a2a0c171444e810428abcdbdddc1bc653ae02ec9e547fcf4f - 0.0% (1.25 KB)
[#008] sha256:39a7864e57595e38c99d687cbac5b1d9c4bda32a5976adaf650aad4c95553d57 - 0.0% (1.32 KB)
[#009] sha256:efa982e4b6dcb83a5e9530e981b4245c8212dfaae2276b81f4a629dc2c07a45f - 0.0% (1.25 KB)
Apply image 1809-RTM-amd64
2021-08-05 19:44:34 UTCInstall update 1809-amd64
2021-08-25 13:46:35 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop';]
2021-08-25 19:49:26 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_VERSION=4.2.15
2021-08-25 19:49:27 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_URL=https://fastdl.mongodb.org/win32/mongodb-win32-x86_64-2012plus-4.2.15-signed.msi
2021-08-25 19:49:28 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_SHA256=503c649f89d096782cacd69059023e81fac37d41a33f1f7a8dfb0fcdef96f318
2021-08-25 19:51:41 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.';
2021-08-25 19:51:43 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) VOLUME [C:\data\db C:\data\configdb]
2021-08-25 19:51:43 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) EXPOSE 27017
2021-08-25 19:51:45 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) CMD ["mongod" "--bind_ip_all"]