2023-02-16 00:46:19 UTC
2.31 GB
935bd3812047391e4295970538d8b33ddbe088676d5356283678368fb1b2377d
MONGO_DOWNLOAD_URLhttps://fastdl.mongodb.org/windows/mongodb-windows-x86_64-6.0.4-signed.msi
MONGO_VERSION6.0.4
[#000] sha256:6e222c5ada69382aa2b4fe30b23ae56c7e3ada92712109d20f3edd457a6120b6 - 68.97% (1.59 GB)
[#001] sha256:8f77c707e813c8220ab3c92b6eb7b445ee0b1a485686ff62014ae32c17d2b1b6 - 10.3% (243 MB)
[#002] sha256:531f6c3ad9784fc2870ea5ca08c4adccd9318602ed534d822e12b8b658a7b0b6 - 0.0% (1.24 KB)
[#003] sha256:f090b1b4a006448d110a8b6d34deccbea137b29ba3871ec025cf7368ab7abc64 - 0.0% (1.28 KB)
[#004] sha256:741d1fcb42edc55eb04a1d70a5a2ee18c721d3620a7d21d012c65640ea0b90c1 - 0.0% (1.24 KB)
[#005] sha256:7da4c64cafdbc33a10171ad45cfb037d546eebfc3112d3b38fe5a339ad896454 - 0.0% (1.26 KB)
[#006] sha256:408bae7c6b4a552369108cf8d91d3c5cafd307f4932de2614ba22e187d564e16 - 20.74% (490 MB)
[#007] sha256:fc0756456fff9609e27ca03b68d128507edd994a79365773c7431d245128cb0a - 0.0% (1.29 KB)
[#008] sha256:885900cc33276ed65cdef25e7ef2c7cce32ea28bc4080c6deecbb085457b922b - 0.0% (1.25 KB)
[#009] sha256:ea2da8f21d4d179c9fec9cbe867b979ad7e0e96a6e9951364cb0abc9798e9f89 - 0.0% (1.26 KB)
Apply image 10.0.17763.3887
2023-02-07 10:44:53 UTCInstall update 10.0.17763.4010
2023-02-16 00:42:02 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop';]
2023-02-16 00:42:03 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_VERSION=6.0.4
2023-02-16 00:42:04 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_URL=https://fastdl.mongodb.org/windows/mongodb-windows-x86_64-6.0.4-signed.msi
2023-02-16 00:42:05 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_SHA256=935bd3812047391e4295970538d8b33ddbe088676d5356283678368fb1b2377d
2023-02-16 00:46:16 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-02-16 00:46:17 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) VOLUME [C:\data\db C:\data\configdb]
2023-02-16 00:46:18 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) EXPOSE 27017
2023-02-16 00:46:19 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) CMD ["mongod" "--bind_ip_all"]