2025-01-14 23:39:25 UTC
2.27 GB
acabc07cba2e1b4a8bc2a852715a21ca29cae0f08a0dc157d54c1049f586fe45
MONGO_DOWNLOAD_URLhttps://fastdl.mongodb.org/windows/mongodb-windows-x86_64-5.0.30-signed.msi
MONGO_VERSION5.0.30
[#000] sha256:803f4a9590cb9c635813cbd0ee89190f92d5fe4c7589711cf468879e42ce02ba - 70.63% (1.6 GB)
[#001] sha256:09e6adf68d473b439b895dbef289349826f793d13a35d136c1e4a98b09d23cd4 - 16.5% (383 MB)
[#002] sha256:9aa91a2c88518c9538fcf256ae6469e45853e5871c44de25f7929857e9f5a107 - 0.0% (1.31 KB)
[#003] sha256:f849d28f43c730077b955a164435a5aeab0414889ed4b5f5b554d1a2b9bd5f8b - 0.0% (1.27 KB)
[#004] sha256:86a426d13647289f31a6d86344e080d6895d9341981efc3b9804207c32518e0e - 0.0% (1.28 KB)
[#005] sha256:86980b6cd464bb4cc56ce80aa30143ec7bae7d1aec956ab1d26454210f978fd1 - 0.0% (1.31 KB)
[#006] sha256:40499dbd59b428dfd2a0fda8575b878e9ca7bca73590d6f991622a886537d2b3 - 12.87% (299 MB)
[#007] sha256:8de7b6acb290eeef4729aa41b0d884393a2d9774af708d9f88426ab062b4d438 - 0.0% (1.25 KB)
[#008] sha256:a2612e8405c4e644fd329fa38468b90fe701b45f18620e5e0dcde0b9bac15ac6 - 0.0% (1.27 KB)
[#009] sha256:4af60615b1540c419c77c8472a240e456aa13ffc3add93f867d43dc2e9f6f5e5 - 0.0% (1.25 KB)
Apply image 10.0.17763.6293
2025-01-09 09:46:25 UTCInstall update 10.0.17763.6775
2025-01-14 23:37:55 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop';]
2025-01-14 23:37:56 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_VERSION=5.0.30
2025-01-14 23:37: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:37:58 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_SHA256=acabc07cba2e1b4a8bc2a852715a21ca29cae0f08a0dc157d54c1049f586fe45
2025-01-14 23:39:19 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:39:20 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) VOLUME [C:\data\db C:\data\configdb]
2025-01-14 23:39:23 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) EXPOSE 27017
2025-01-14 23:39:25 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) CMD ["mongod" "--bind_ip_all"]