2024-02-14 20:03:26 UTC
2.07 GB
a83af50b58ce226c14235466ca5f88c4d5c40002cb8470118b5c8c42a6a27dac
MONGO_DOWNLOAD_URLhttps://fastdl.mongodb.org/windows/mongodb-windows-x86_64-5.0.24-signed.msi
MONGO_VERSION5.0.24
[#000] sha256:7c76e5cf7755ce357ffb737715b0da6799a50ea468cc252c094f4d915d426b3f - 62.42% (1.29 GB)
[#001] sha256:855fa6b82f2f8fea22646f0d4aa228ea8cbb8bc562afd14a163a8f3d0eb010e1 - 23.47% (498 MB)
[#002] sha256:e2368db7e2c20d9b4a5c34d4017c1f5f1b50e589e2f643208438e8ad4b8088b6 - 0.0% (1.26 KB)
[#003] sha256:2c2a8259d7c9447be6a4845bd1d640caf3f9807b683f101e5718e4fa07fdfaad - 0.0% (1.26 KB)
[#004] sha256:ac68fbbcd66c6085de752080011ac7eaf2646762df1146a4f85ccf63a76bde71 - 0.0% (1.25 KB)
[#005] sha256:00c02c00b0d0c0c237440d43126ec89ec9375e9c9c2adebf36efb64928a7596b - 0.0% (1.26 KB)
[#006] sha256:9dcd73137a74dee3c9f4eb83f1526b132112c46ae8f0e1489e75df1a2362473c - 14.11% (299 MB)
[#007] sha256:12997cc3871560d361e6e6eb3a5521c05d66c5ee554c1d60f7d44248cf79fa14 - 0.0% (1.29 KB)
[#008] sha256:5a5974a7ce3dcde7f1a786598bec76c0099c852e239cb45fb966c1e9279a5592 - 0.0% (1.26 KB)
[#009] sha256:b43fd4ba32e8e8f034df928e11fe22879dc5e6b4fa64ff23c2019a53279a5028 - 0.0% (1.26 KB)
Apply image 10.0.20348.1787
2024-02-07 06:55:59 UTCInstall update 10.0.20348.2322
2024-02-14 20:02:18 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop';]
2024-02-14 20:02:19 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_VERSION=5.0.24
2024-02-14 20:02:20 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_URL=https://fastdl.mongodb.org/windows/mongodb-windows-x86_64-5.0.24-signed.msi
2024-02-14 20:02:21 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_SHA256=a83af50b58ce226c14235466ca5f88c4d5c40002cb8470118b5c8c42a6a27dac
2024-02-14 20:03:22 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.';
2024-02-14 20:03:24 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) VOLUME [C:\data\db C:\data\configdb]
2024-02-14 20:03:25 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) EXPOSE 27017
2024-02-14 20:03:26 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) CMD ["mongod" "--bind_ip_all"]