2024-08-13 20:23:03 UTC
2.56 GB
42fb4a542f2ca80542fe4f0cb21b6105d4e9613c85c733cf34b074169c3b99ba
MONGO_DOWNLOAD_URLhttps://fastdl.mongodb.org/windows/mongodb-windows-x86_64-7.0.13-rc1-signed.msi
MONGO_VERSION7.0.13-rc1
[#000] sha256:7c76e5cf7755ce357ffb737715b0da6799a50ea468cc252c094f4d915d426b3f - 50.47% (1.29 GB)
[#001] sha256:dcd649075383e8df03ea713dfe59e1205716fbaa14450c10ef0d0a24a7b63669 - 27.37% (718 MB)
[#002] sha256:bb77aba5c9bd3502da1205c72da9799a2787e41f1e617d2c598b51ed7e786d42 - 0.0% (1.26 KB)
[#003] sha256:852ce7ea45c32ac7f41e9c9a8fab5f3fa78fcfa29151b82f5fa9c0dace72e689 - 0.0% (1.25 KB)
[#004] sha256:eed93ad09337fa5bbe64e087bcf9f7c40dcb8780bebb36be9cebefb440ffab28 - 0.0% (1.25 KB)
[#005] sha256:c5e1f5fc59e8610924b1c7f15b18587c41b488741d005c807adec9ad9ac85415 - 0.0% (1.25 KB)
[#006] sha256:d9f9b0355c091fe49904348e0cd020c327655353e87451733bc1bf39b51f0e74 - 22.16% (582 MB)
[#007] sha256:6f9bb8027d7af6f67189c4e6255a234890b132892d6de908b49f1c52044eaf7d - 0.0% (1.25 KB)
[#008] sha256:2221c0fb3aff219478dc60c145c5e806f6c284a2a4a2126310ad8e5208169b78 - 0.0% (1.26 KB)
[#009] sha256:91fe2bad25138be7232e57f6dad05580ff3898024b6d120ce7c156db12db872a - 0.0% (1.26 KB)
Apply image 10.0.20348.1787
2024-08-10 19:49:59 UTCInstall update 10.0.20348.2655
2024-08-13 20:21:42 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop';]
2024-08-13 20:21:43 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_VERSION=7.0.13-rc1
2024-08-13 20:21:43 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_URL=https://fastdl.mongodb.org/windows/mongodb-windows-x86_64-7.0.13-rc1-signed.msi
2024-08-13 20:21:44 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_SHA256=42fb4a542f2ca80542fe4f0cb21b6105d4e9613c85c733cf34b074169c3b99ba
2024-08-13 20:23:01 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=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 ' mongod --version'; mongod --version; Write-Host 'Removing ...'; Remove-Item C:\windows\installer\*.msi -Force; Remove-Item mongo.msi -Force; Write-Host 'Complete.';
2024-08-13 20:23:02 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) VOLUME [C:\data\db C:\data\configdb]
2024-08-13 20:23:03 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) EXPOSE 27017
2024-08-13 20:23:03 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) CMD ["mongod" "--bind_ip_all"]