2022-08-10 18:31:29 UTC
2.42 GB
a2cf68740de7dc9625d5aa364b699c9bd34be00388196b3299d4776869791a31
MONGO_DOWNLOAD_URLhttps://fastdl.mongodb.org/win32/mongodb-win32-x86_64-2012plus-4.2.22-rc0-signed.msi
MONGO_VERSION4.2.22-rc0
[#000] sha256:97f65a0ec59e643faf84024aa713a9be059322380315fda829756bbbd96d6258 - 55.2% (1.34 GB)
[#001] sha256:97b25a378238b615dc51216c4d87ce17fd3cc3dca9db458e8705d1a4c17e3bb7 - 33.81% (839 MB)
[#002] sha256:ff9b89cbdb5f88cb926263140643eb2bfad61fb092119830e290c8f8ff711c8f - 0.0% (1.32 KB)
[#003] sha256:ed389bacdddf1ab42f28e7b1b6b1bfb651b47429f543d295b8c9857cff7b5895 - 0.0% (1.39 KB)
[#004] sha256:7c4842633fcdef4370d34dcfe961159f7037588cd1ff873398f0f267c98b07fc - 0.0% (1.39 KB)
[#005] sha256:061bb72b5c207e08895fa0bbcf951eddebe9ccc1155b1d7c05d278b27f0f954a - 0.0% (1.38 KB)
[#006] sha256:327da32517c8087e788b610957f3aeda1339f872fd3aa4d5a83a7dfc02a7ec1d - 11.0% (273 MB)
[#007] sha256:fd93ffdd75143a03b2b59ddc82e377109df2a5ef61660f666d50588d4f54f1b0 - 0.0% (1.38 KB)
[#008] sha256:ee6d6383a89d5516aebf89c1d2336cf43e6b35979f516fbce52cd4769f00b52b - 0.0% (1.41 KB)
[#009] sha256:24eab60eed89aeae257917e3e95ce748c5588a1191bb9d82a7a1b474753e8151 - 0.0% (1.41 KB)
Apply image 10.0.20348.643
2022-08-06 02:59:35 UTCInstall update 10.0.20348.887
2022-08-10 13:33:21 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop';]
2022-08-10 18:29:50 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_VERSION=4.2.22-rc0
2022-08-10 18:29:51 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_URL=https://fastdl.mongodb.org/win32/mongodb-win32-x86_64-2012plus-4.2.22-rc0-signed.msi
2022-08-10 18:29:52 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_SHA256=a2cf68740de7dc9625d5aa364b699c9bd34be00388196b3299d4776869791a31
2022-08-10 18:31:25 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.';
2022-08-10 18:31:27 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) VOLUME [C:\data\db C:\data\configdb]
2022-08-10 18:31:28 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) EXPOSE 27017
2022-08-10 18:31:29 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) CMD ["mongod" "--bind_ip_all"]