2025-01-14 23:36:40 UTC
2.4 GB
acabc07cba2e1b4a8bc2a852715a21ca29cae0f08a0dc157d54c1049f586fe45
MONGO_DOWNLOAD_URLhttps://fastdl.mongodb.org/windows/mongodb-windows-x86_64-5.0.30-signed.msi
MONGO_VERSION5.0.30
[#000] sha256:2534953f34d35976fc44cd67bfdd39fdcd9e2eaae57ada0be53d5fb936cd3a0b - 56.77% (1.36 GB)
[#001] sha256:440cf16a6c1eb5c6c232aa5e54099878e9ddb01fb83b65139ec4e2618d1e00de - 31.07% (763 MB)
[#002] sha256:a760744a5e5cf719c0f2f475d1d80ac6bdfac925627fb76733f5015a827f8fdd - 0.0% (1.25 KB)
[#003] sha256:74f431ffed05a85849551f5303632b901a7b5f55f28f1ff4f05f941aeaeeac43 - 0.0% (1.25 KB)
[#004] sha256:ef9dbcc329ed8f87d4c2a254427875117644f2975a4bf26cb5f0134328c2e49d - 0.0% (1.26 KB)
[#005] sha256:f9196a2829b4ea433d139aac92b3eab1f64dc6b1667c01534963de8c72d60185 - 0.0% (1.28 KB)
[#006] sha256:45e9d7bc4e0a2a62a9282a6ca96d945d360ac679a2363b3fb5645abfed7ea289 - 12.17% (299 MB)
[#007] sha256:555a9f5b65214d8439b7778664595e386c96246073c46a16e823549ae14b00bb - 0.0% (1.25 KB)
[#008] sha256:8df6189052be1e64ccc03f272d4fb9004d8423db7819348a4fc05abc8da8b29b - 0.0% (1.25 KB)
[#009] sha256:d0e0f910683e719573cf2139b3fbbb690c4f5539c067b5aae5676e232d3c37d9 - 0.0% (1.26 KB)
Apply image 10.0.20348.2700
2025-01-12 10:10:43 UTCInstall update 10.0.20348.3091
2025-01-14 23:35:55 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop';]
2025-01-14 23:35:56 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_VERSION=5.0.30
2025-01-14 23:35:57 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_URL=https://fastdl.mongodb.org/windows/mongodb-windows-x86_64-5.0.30-signed.msi
2025-01-14 23:35:57 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_SHA256=acabc07cba2e1b4a8bc2a852715a21ca29cae0f08a0dc157d54c1049f586fe45
2025-01-14 23:36:35 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.';
2025-01-14 23:36:39 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) VOLUME [C:\data\db C:\data\configdb]
2025-01-14 23:36:40 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) EXPOSE 27017
2025-01-14 23:36:40 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) CMD ["mongod" "--bind_ip_all"]