2023-12-21 20:56:23 UTC
2.33 GB
7c988b5af02bcf210c4e2f92a17aea9e4e11be51782b76b868070b42c67a442a
MONGO_DOWNLOAD_URLhttps://fastdl.mongodb.org/windows/mongodb-windows-x86_64-7.0.5-rc0-signed.msi
MONGO_VERSION7.0.5-rc0
[#000] sha256:7c76e5cf7755ce357ffb737715b0da6799a50ea468cc252c094f4d915d426b3f - 55.49% (1.29 GB)
[#001] sha256:7839fc47f6e056f9e09a214230f8b7115e69419dbc74acbbb1ad6bc0caa28862 - 20.01% (477 MB)
[#002] sha256:dde1fcd7050bcf6c469a2c35d2f24ffa1defc84bead0b525d62a82ad51cdd367 - 0.0% (1.25 KB)
[#003] sha256:32e5a9bfd96088b8041c5a4d1c5c9f55931b56ac4a36e3f6d815b5d8b5a29b99 - 0.0% (1.25 KB)
[#004] sha256:014e8be44ccefbad51654da31cbf4cfb8f2a67245cfa96906954c95dc531ebcd - 0.0% (1.26 KB)
[#005] sha256:04bfe2129f1849a4934b458ab94d25d559d25dd837f1e5fb965da1d643957454 - 0.0% (1.26 KB)
[#006] sha256:bc018f1b5c2ea63a8551e405a6034aeaac37c20482d247695685ee2122dcb944 - 24.5% (585 MB)
[#007] sha256:cc9ad748f7feafa82b3c2ef9b84faa74a353293eac018cbc7372f51cd6d9930b - 0.0% (1.26 KB)
[#008] sha256:8136760ed02938bfb3763e327528eb90a079806586af0e815e8943be7a2779a2 - 0.0% (1.26 KB)
[#009] sha256:0e4595a9e833e02fdcdf602f2a52f70cb252d493d6b42a80db91b64ce19dedb4 - 0.0% (1.26 KB)
Apply image 10.0.20348.1787
2023-12-02 12:42:56 UTCInstall update 10.0.20348.2159
2023-12-21 20:53:42 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop';]
2023-12-21 20:53:43 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_VERSION=7.0.5-rc0
2023-12-21 20:53:44 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_URL=https://fastdl.mongodb.org/windows/mongodb-windows-x86_64-7.0.5-rc0-signed.msi
2023-12-21 20:53:44 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_SHA256=7c988b5af02bcf210c4e2f92a17aea9e4e11be51782b76b868070b42c67a442a
2023-12-21 20:56:20 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.';
2023-12-21 20:56:21 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) VOLUME [C:\data\db C:\data\configdb]
2023-12-21 20:56:22 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) EXPOSE 27017
2023-12-21 20:56:23 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) CMD ["mongod" "--bind_ip_all"]