2024-12-11 21:43:13 UTC
2.37 GB
f7d3087e3d0f441b45a19c34ffc513b9ab472d1312796d3b8ac6411246d7aee5
MONGO_DOWNLOAD_URLhttps://fastdl.mongodb.org/windows/mongodb-windows-x86_64-6.0.20-rc2-signed.msi
MONGO_VERSION6.0.20-rc2
[#000] sha256:803f4a9590cb9c635813cbd0ee89190f92d5fe4c7589711cf468879e42ce02ba - 67.68% (1.6 GB)
[#001] sha256:3308b54d35b61854238974280a5b0ecc72a98e2ead17d04f42770a7b35407090 - 11.56% (280 MB)
[#002] sha256:3579b8b54fecb0e038ab7c5991a784a21eb85d28b00c74630075d950a54ac9a7 - 0.0% (1.27 KB)
[#003] sha256:342c5e29057bd84b2262bf1b3549e85b99ae42e82afa8cab8877a196fcc45fb9 - 0.0% (1.27 KB)
[#004] sha256:3a6d9cb1c50cff6e833c2dd57abbeabb2c928b3b88218938955cd13963032f98 - 0.0% (1.26 KB)
[#005] sha256:18f51f3f450b4dd0cc26caaba4f605aa397eec060d4c63037204165e58708bfb - 0.0% (1.27 KB)
[#006] sha256:d48f0dda7905a6e3c9d3d3543c09b76da9510891222c5f2cd9b497f72d3b059d - 20.76% (503 MB)
[#007] sha256:b7691b670fc84ecf6e558e59ad6d345d81370c4a2a8f3ff39d9dbd6ea7e1bd62 - 0.0% (1.26 KB)
[#008] sha256:130ce2dd7b98837edeb319290002f8ac3dcb9fa406935e5d323726110c21733f - 0.0% (1.27 KB)
[#009] sha256:93f26bc17c96ad5a1b4c71cef43e7d5e350f3e331fb3347daef52c9528bb5370 - 0.0% (1.27 KB)
Apply image 10.0.17763.6293
2024-12-05 05:10:22 UTCInstall update 10.0.17763.6659
2024-12-11 21:41:58 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop';]
2024-12-11 21:41:59 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_VERSION=6.0.20-rc2
2024-12-11 21:42:00 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_URL=https://fastdl.mongodb.org/windows/mongodb-windows-x86_64-6.0.20-rc2-signed.msi
2024-12-11 21:42:00 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_SHA256=f7d3087e3d0f441b45a19c34ffc513b9ab472d1312796d3b8ac6411246d7aee5
2024-12-11 21:43:11 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-12-11 21:43:12 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) VOLUME [C:\data\db C:\data\configdb]
2024-12-11 21:43:13 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) EXPOSE 27017
2024-12-11 21:43:13 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) CMD ["mongod" "--bind_ip_all"]