2024-10-01 01:04:36 UTC
2.32 GB
b029528f106f4b443e0788b5dfd6f8a50277af93c9e314ad8e5c4a2d5a0e5ad5
MONGO_DOWNLOAD_URLhttps://fastdl.mongodb.org/windows/mongodb-windows-x86_64-8.0.1-rc0-signed.msi
MONGO_VERSION8.0.1-rc0
[#000] sha256:803f4a9590cb9c635813cbd0ee89190f92d5fe4c7589711cf468879e42ce02ba - 69.18% (1.6 GB)
[#001] sha256:d3df1081281f02fd67775d4f231da60624d91666acd019009651420c3d61bd9e - 0.0% (1.27 KB)
[#002] sha256:e6cf92184fe08da0cf7d56ef00f1003681c014326f9606dae8e7e01d0d5122e9 - 0.0% (1.26 KB)
[#003] sha256:4234de18fb487336d77174a6ca81d36c2730c7c557881299a4bc484ce2d917aa - 0.0% (1.27 KB)
[#004] sha256:0e27d6ccbee2dfe83529033eecb5c810f5d5625542d3fe3e0d50c764fe65b0ee - 0.0% (1.26 KB)
[#005] sha256:6fb2899fb1ad7f193a13d5ea30ad75f2ebc524fbab868302a590addfed098ea4 - 30.82% (731 MB)
[#006] sha256:1f287caba953f3a2f34817ece88bff15fce2f01d8610e933b1c3df8697d38d38 - 0.0% (1.27 KB)
[#007] sha256:d29d26f8a9a7ca3702a26d851e7c43caeb647de923ed170d36050c44b4d83b93 - 0.0% (1.25 KB)
[#008] sha256:83e15bf5440dab7d894b31465a73a6439c7b0bc2b82cd9a2cee8aca221a48fbb - 0.0% (1.27 KB)
Apply image 10.0.17763.6293
2024-10-01 01:02:43 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop';]
2024-10-01 01:02:44 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_VERSION=8.0.1-rc0
2024-10-01 01:02:44 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_URL=https://fastdl.mongodb.org/windows/mongodb-windows-x86_64-8.0.1-rc0-signed.msi
2024-10-01 01:02:45 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_SHA256=b029528f106f4b443e0788b5dfd6f8a50277af93c9e314ad8e5c4a2d5a0e5ad5
2024-10-01 01:04:34 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-10-01 01:04:35 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) VOLUME [C:\data\db C:\data\configdb]
2024-10-01 01:04:36 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) EXPOSE 27017
2024-10-01 01:04:36 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) CMD ["mongod" "--bind_ip_all"]