2023-05-10 01:59:45 UTC
2.41 GB
79327a9901a39182dee2d74f84e46b4c6b1416cfc2c0cee791322ea82dce0388
MONGO_DOWNLOAD_URLhttps://fastdl.mongodb.org/windows/mongodb-windows-x86_64-6.0.5-signed.msi
MONGO_VERSION6.0.5
[#000] sha256:6e222c5ada69382aa2b4fe30b23ae56c7e3ada92712109d20f3edd457a6120b6 - 66.01% (1.59 GB)
[#001] sha256:e01de39a0c44e24aa1912078d32ee54389b71154e509138cc4f5d1de42e7a32a - 14.07% (347 MB)
[#002] sha256:f2a89be60a77cd8d520ec5f03d703ddbc15675dd1df4d95e041032cf08960af5 - 0.0% (1.36 KB)
[#003] sha256:eedb9985adf34f32104b4a54e4a42745b5b780e521e64f097ca455978ae86734 - 0.0% (1.38 KB)
[#004] sha256:2b71603ad1b0db36572f2f45135b6cf67aa2b38b5c751ef24496f0d1aa66dd34 - 0.0% (1.38 KB)
[#005] sha256:2dbb24c5a59e4e3d64c0b886e3a814e0968f10eaa6684011b759a80d865c09fe - 0.0% (1.36 KB)
[#006] sha256:4e9c9d5409504b70338e4d62f28c5431d1ee98b45f772e141401304e03d3ea82 - 19.92% (492 MB)
[#007] sha256:2a0dda9ea0a169e354d1de8bf90bced609e620cb004a38106a63599175e5614b - 0.0% (1.37 KB)
[#008] sha256:70133fb858e8be51a68ba95a98ef0300f1f14bea58aa79dc1dcee42c07abe93d - 0.0% (1.37 KB)
[#009] sha256:414da17a2d3eab7c893b6f519a69ceacbab0e981c7b9a86840e20c610bb8f9f0 - 0.0% (1.37 KB)
Apply image 10.0.17763.3887
2023-05-05 12:05:28 UTCInstall update 10.0.17763.4377
2023-05-10 01:56:29 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop';]
2023-05-10 01:56:29 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_VERSION=6.0.5
2023-05-10 01:56:30 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_URL=https://fastdl.mongodb.org/windows/mongodb-windows-x86_64-6.0.5-signed.msi
2023-05-10 01:56:31 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_SHA256=79327a9901a39182dee2d74f84e46b4c6b1416cfc2c0cee791322ea82dce0388
2023-05-10 01:59:40 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-05-10 01:59:43 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) VOLUME [C:\data\db C:\data\configdb]
2023-05-10 01:59:44 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) EXPOSE 27017
2023-05-10 01:59:45 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) CMD ["mongod" "--bind_ip_all"]