2023-08-10 01:39:10 UTC
1.97 GB
85c99b0b7ddeded924cb937d48fcd1b14c7c43b35c39fbd4d6961d6940f4b538
MONGO_DOWNLOAD_URLhttps://fastdl.mongodb.org/windows/mongodb-windows-x86_64-5.0.19-signed.msi
MONGO_VERSION5.0.19
[#000] sha256:7c76e5cf7755ce357ffb737715b0da6799a50ea468cc252c094f4d915d426b3f - 65.77% (1.29 GB)
[#001] sha256:22a441455ace20af58f01367d769afc2b25c3db3e4a7aee67a634d14826f6f19 - 19.36% (390 MB)
[#002] sha256:85b1b41cab0d4b78c8daa50728be89bc3c25ded051cc1e654b316623692507f1 - 0.0% (1.37 KB)
[#003] sha256:b8cdfc52c20855423271692de232edfe066b74d5f7f13a4e6cfbfedeb1b3739c - 0.0% (1.28 KB)
[#004] sha256:4cecd203700de8d74a4ab744bd08d3b9ce3299dd839cc8d50b2ee288916541d7 - 0.0% (1.29 KB)
[#005] sha256:72eebd26bfc4f92ca412fd49aa6e59d094355916a408ca6ec0caa39f867c2b48 - 0.0% (1.26 KB)
[#006] sha256:1273a13c4c610a300e93444c4747aa8aa635dc63a177004eeb5d5e6b34b8341f - 14.87% (299 MB)
[#007] sha256:34627b28841fb5a049b0ff4de89267d6396b16aeff41811c5984f6d5dda8bbb1 - 0.0% (1.26 KB)
[#008] sha256:ebd0a580edbd21a44e8fe5a3efd51dd2488271f8d98491f2a485e1725fcae73e - 0.0% (1.39 KB)
[#009] sha256:f0768f956b0761162c632e985665462e3595992185a9cded6ad9da5d5c4daf3c - 0.0% (1.33 KB)
Apply image 10.0.20348.1787
2023-08-03 10:01:10 UTCInstall update 10.0.20348.1906
2023-08-10 01:08:38 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop';]
2023-08-10 01:37:47 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_VERSION=5.0.19
2023-08-10 01:37:48 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_URL=https://fastdl.mongodb.org/windows/mongodb-windows-x86_64-5.0.19-signed.msi
2023-08-10 01:37:48 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_SHA256=85c99b0b7ddeded924cb937d48fcd1b14c7c43b35c39fbd4d6961d6940f4b538
2023-08-10 01:39:07 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-08-10 01:39:08 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) VOLUME [C:\data\db C:\data\configdb]
2023-08-10 01:39:09 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) EXPOSE 27017
2023-08-10 01:39:10 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) CMD ["mongod" "--bind_ip_all"]