2023-10-11 03:03:19 UTC
2.46 GB
0bcdc885a437a7fd23f780a7c53a2a43aa99a3bc8bc93db5d1f0d8425066004c
MONGO_DOWNLOAD_URLhttps://fastdl.mongodb.org/windows/mongodb-windows-x86_64-7.0.2-signed.msi
MONGO_VERSION7.0.2
[#000] sha256:c9226d61d3bdbf9f09821b32f5878623b8daaa5fb4f875cb63c199f87a26d57e - 62.45% (1.54 GB)
[#001] sha256:1af2bcb37edaec1dd87fc4a6f7c9129ca37bf1f91b65eb365ba9d4c70473beea - 14.41% (363 MB)
[#002] sha256:69a4919cd870c32d33d8113b108e3e6ea2391bbbc70b2cf7e9febeeee307b1a4 - 0.0% (1.4 KB)
[#003] sha256:69aa3f2642f571806455989f077cdfb488518f87129c7c799cbb952909b79da3 - 0.0% (1.39 KB)
[#004] sha256:fb730ab0209c322c9a53004710a09b87deec31653a24174d657773347641bc96 - 0.0% (1.39 KB)
[#005] sha256:120dc369b3e5fe05faf81c8ae8197ce5b07556482a0c0148fa9f35250eccbd0d - 0.0% (1.41 KB)
[#006] sha256:e4626c69228304197846606da326360b446d5da09f48d46b00c7d4c0bfd3060b - 23.13% (583 MB)
[#007] sha256:752a03f00de5484e41dc5fad1be2f240e5d15f2b49a479daac5bbf0cd7c69a24 - 0.0% (1.35 KB)
[#008] sha256:024fe53ce9c5c6f22859496aa67162be04fb6109c579dfcc9493976cbcbf5633 - 0.0% (1.4 KB)
[#009] sha256:0f007d3f2b5acb743919a65237f0e9855ab07a07061798a86bda0337a23264c7 - 0.0% (1.4 KB)
Apply image 10.0.17763.4499
2023-10-02 08:29:38 UTCInstall update 10.0.17763.4974
2023-10-11 02:58:10 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop';]
2023-10-11 02:58:11 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_VERSION=7.0.2
2023-10-11 02:58:12 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_URL=https://fastdl.mongodb.org/windows/mongodb-windows-x86_64-7.0.2-signed.msi
2023-10-11 02:58:13 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_SHA256=0bcdc885a437a7fd23f780a7c53a2a43aa99a3bc8bc93db5d1f0d8425066004c
2023-10-11 03:03:15 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-10-11 03:03:17 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) VOLUME [C:\data\db C:\data\configdb]
2023-10-11 03:03:18 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) EXPOSE 27017
2023-10-11 03:03:19 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) CMD ["mongod" "--bind_ip_all"]