2023-03-16 03:16:52 UTC
2.17 GB
882dce3858f3580011cd295f5c6502a4effd19178968abd7c20f8aabb50a7c15
MONGO_DOWNLOAD_URLhttps://fastdl.mongodb.org/windows/mongodb-windows-x86_64-5.0.15-signed.msi
MONGO_VERSION5.0.15
[#000] sha256:6e222c5ada69382aa2b4fe30b23ae56c7e3ada92712109d20f3edd457a6120b6 - 73.43% (1.59 GB)
[#001] sha256:a92048040b3b13af10f8287baabaddbb2759dfc77b1fb43f89b38b3275467f93 - 13.14% (291 MB)
[#002] sha256:474eedda733dad347e4baad9fb9f3d700b58e5788f7453d1979cebb167746b32 - 0.0% (1.39 KB)
[#003] sha256:f11bb1215dad8fa83b964a9f7248cc62df7c23cc3dc25af4d6eaf9ab504d6863 - 0.0% (1.39 KB)
[#004] sha256:49be84008b64fef1637dddabf413f17c16a0c6fd127065043553cc23ee0bca6d - 0.0% (1.38 KB)
[#005] sha256:f3c73106881371c62f8dc9170b9e1c4b27f8640cb2c04f70287ca39cc04ee9bb - 0.0% (1.38 KB)
[#006] sha256:3ac920e9a24ea4347629986261f08fe0f553e95eead99ddb5d7f450c9d9838a7 - 13.43% (298 MB)
[#007] sha256:3bf3e4bd832a1836f08ee44bf1b0ceb5f2e9931661da3b09b65846f8dcb5b69f - 0.0% (1.29 KB)
[#008] sha256:5f67488af39862666ff6cafb3348a77cbfa15ec31608f7c610b2b9523abc91e9 - 0.0% (1.29 KB)
[#009] sha256:4c3434fc6085624835ee564d0f7e89ca0ecd42286b08a037b53fe5110f728ef5 - 0.0% (1.27 KB)
Apply image 10.0.17763.3887
2023-03-11 10:37:22 UTCInstall update 10.0.17763.4131
2023-03-16 02:59:15 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop';]
2023-03-16 03:12:51 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_VERSION=5.0.15
2023-03-16 03:12:52 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_URL=https://fastdl.mongodb.org/windows/mongodb-windows-x86_64-5.0.15-signed.msi
2023-03-16 03:12:53 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_SHA256=882dce3858f3580011cd295f5c6502a4effd19178968abd7c20f8aabb50a7c15
2023-03-16 03:16:47 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\mongod.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.';
2023-03-16 03:16:50 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) VOLUME [C:\data\db C:\data\configdb]
2023-03-16 03:16:51 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) EXPOSE 27017
2023-03-16 03:16:52 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) CMD ["mongod" "--bind_ip_all"]