2023-06-30 23:34:21 UTC
2.02 GB
41dabd0f59813c675f6973201374800b300800060839968b9fda7371423061b1
MONGO_DOWNLOAD_URLhttps://fastdl.mongodb.org/windows/mongodb-windows-x86_64-6.0.7-signed.msi
MONGO_VERSION6.0.7
[#000] sha256:b1471cc22404d036d95728a9c37c1e3f025a1f0a331072c8613e38cf8f7ff1ed - 76.13% (1.54 GB)
[#001] sha256:ed9634b679e6c602a6aaf0bae51625e7ca041489c77150db557640304f51bb37 - 0.0% (1.37 KB)
[#002] sha256:4a307fac960c5ab587a74c6a52793636337c1fb8be19a1606b125e60abfbd17c - 0.0% (1.38 KB)
[#003] sha256:4f0853bd64323c5c83fb0cd3ffa295c5c2c04ce4d067916f3a4e03522c2023f3 - 0.0% (1.36 KB)
[#004] sha256:bd92a34f4fe0ef067dd91ca0f2fed7bc3f71aff01f194c968015743318c18787 - 0.0% (1.38 KB)
[#005] sha256:146e83a613bd06812fd98bb7bfc0681f082481dd8be04495f71f99ebb5a6e888 - 23.87% (494 MB)
[#006] sha256:92437d4c9785f7a5b9a89d3b174596de346aef1fbdc7b8d10875ea79fb279a2f - 0.0% (1.36 KB)
[#007] sha256:83149c6e4f5aee6cf435ab3ee11f2485e23732d6b29ef638065de814a04e634f - 0.0% (1.34 KB)
[#008] sha256:6b0d320ea910bea1472ae3d2fb7c1a0de8240409efcf5ff7c1ce4fac269e91e3 - 0.0% (1.29 KB)
Apply image 10.0.17763.4499
2023-06-24 02:28:43 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop';]
2023-06-30 23:32:17 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_VERSION=6.0.7
2023-06-30 23:32:18 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_URL=https://fastdl.mongodb.org/windows/mongodb-windows-x86_64-6.0.7-signed.msi
2023-06-30 23:32:19 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_SHA256=41dabd0f59813c675f6973201374800b300800060839968b9fda7371423061b1
2023-06-30 23:34:17 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-06-30 23:34:19 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) VOLUME [C:\data\db C:\data\configdb]
2023-06-30 23:34:20 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) EXPOSE 27017
2023-06-30 23:34:21 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) CMD ["mongod" "--bind_ip_all"]