2023-12-21 20:56:40 UTC
2.49 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:c9226d61d3bdbf9f09821b32f5878623b8daaa5fb4f875cb63c199f87a26d57e - 61.76% (1.54 GB)
[#001] sha256:e35ae5ad761bfd7e5fb48c234de8722eaa28e17e2c956816fecb417ab6259c29 - 15.31% (390 MB)
[#002] sha256:fda0fdf28cd38deb5bb26d8b197c034396ea09c7942aa62a59e1343945a3b8de - 0.0% (1.33 KB)
[#003] sha256:356da5762d583a58a3895c608673e8e749ea9c094698ddb3af240f4a4b5fbb00 - 0.0% (1.33 KB)
[#004] sha256:26f37aa713cbbe8366e4485cc3df51d444881c12fd1f65c18f1fc346e3cc864b - 0.0% (1.34 KB)
[#005] sha256:f2e69b13b9fad7f64f778e3c94d3eab482b72a1cb8a5e80f35ba6520958f427d - 0.0% (1.3 KB)
[#006] sha256:b722ca33dccb38d1fcb94a4777f1fc4fddc36e45f8da5bed11234e2468de5fcb - 22.94% (585 MB)
[#007] sha256:488b44fd1af5473849fe90d189ee6526c34f115250ce1f5ae0b8fe901eeb70f3 - 0.0% (1.29 KB)
[#008] sha256:4c5fb59922cb6fbbd68cfa35148a5e1561a68bc599749e0820c0841261f985c4 - 0.0% (1.34 KB)
[#009] sha256:c29027e3a77f56f63835bbb5d1415a1ffef7acf7e148b8d39f021e024a577ef2 - 0.0% (1.29 KB)
Apply image 10.0.17763.4499
2023-12-04 11:24:49 UTCInstall update 10.0.17763.5206
2023-12-21 20:53:44 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop';]
2023-12-21 20:53:46 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_VERSION=7.0.5-rc0
2023-12-21 20:53:46 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:47 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_SHA256=7c988b5af02bcf210c4e2f92a17aea9e4e11be51782b76b868070b42c67a442a
2023-12-21 20:56:38 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:38 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) VOLUME [C:\data\db C:\data\configdb]
2023-12-21 20:56:39 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) EXPOSE 27017
2023-12-21 20:56:40 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) CMD ["mongod" "--bind_ip_all"]