2025-03-06 18:32:08 UTC
2.6 GB
7d614a9ef96cfd6c75e13ad9f619d058318821a0289adf061d42995438d451cd
MONGO_DOWNLOAD_URLhttps://fastdl.mongodb.org/windows/mongodb-windows-x86_64-6.0.21-rc0-signed.msi
MONGO_VERSION6.0.21-rc0
[#000] sha256:2534953f34d35976fc44cd67bfdd39fdcd9e2eaae57ada0be53d5fb936cd3a0b - 52.39% (1.36 GB)
[#001] sha256:76bc4873980ff6a1dec3c10adb1f289ccf73e4c47c8694420e8ff929f1476ada - 28.72% (765 MB)
[#002] sha256:19032651c82f1af28a046b900bb024423f8bd37c116fc7036399128b67e5ef4b - 0.0% (1.27 KB)
[#003] sha256:a70bc501106568beb3cc88d6f02cada0eff57a38e26be4cf1610ed4ca74b3f3d - 0.0% (1.23 KB)
[#004] sha256:3056fb6f9bd12e2cb2c12d6f69bb729dcffe3c0e1c3bdef36c01fd446be60d7a - 0.0% (1.25 KB)
[#005] sha256:5157fae779a0d7d67129c4b1b5c00a9bebc4dc726a3bbfab76c07545155d0b77 - 0.0% (1.25 KB)
[#006] sha256:606cc58203782d38e4d7119bae6d8eca2f2021b262ddd3632173dc340ed9c8db - 18.89% (503 MB)
[#007] sha256:52eae7379f406fbc334919a716a35ab27f10c99c9beb1a68e3ab5e32d6da4146 - 0.0% (1.25 KB)
[#008] sha256:039d69b729feec8f46ff41651824f3cfe93549953561d213b73b585cab6c17bc - 0.0% (1.25 KB)
[#009] sha256:1e24382978ac0a1edbdf5c6f7773fd3ceaa975d1dbf1ec84c9777bd4e648e1d2 - 0.0% (1.26 KB)
Apply image 10.0.20348.2700
2025-02-07 21:10:03 UTCInstall update 10.0.20348.3207
2025-03-06 18:30:08 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop';]
2025-03-06 18:30:09 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_VERSION=6.0.21-rc0
2025-03-06 18:30:10 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_URL=https://fastdl.mongodb.org/windows/mongodb-windows-x86_64-6.0.21-rc0-signed.msi
2025-03-06 18:30:10 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_SHA256=7d614a9ef96cfd6c75e13ad9f619d058318821a0289adf061d42995438d451cd
2025-03-06 18:32:04 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.';
2025-03-06 18:32:06 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) VOLUME [C:\data\db C:\data\configdb]
2025-03-06 18:32:07 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) EXPOSE 27017
2025-03-06 18:32:08 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) CMD ["mongod" "--bind_ip_all"]