2023-06-21 01:23:44 UTC
2.11 GB
b8e2fbeee6a8d1b03c8c1f2582d810b15c504e7b59b01d6ab1c9fa5b95995692
MONGO_DOWNLOAD_URLhttps://fastdl.mongodb.org/windows/mongodb-windows-x86_64-7.0.0-rc4-signed.msi
MONGO_VERSION7.0.0-rc4
[#000] sha256:c9226d61d3bdbf9f09821b32f5878623b8daaa5fb4f875cb63c199f87a26d57e - 72.87% (1.54 GB)
[#001] sha256:3929a070e5d6b9cb95587cf41492d8ef77aaa7e9f90fa3cd1b32619fae5debc2 - 0.0% (1.36 KB)
[#002] sha256:4f0ad1485387ca3028571d4991ed99450ae8ffabc1f2d61d0792fce2332fee54 - 0.0% (1.38 KB)
[#003] sha256:5698a6800e52717bffd45e22af8af1314b1b6af420934fe18393719c262e7cba - 0.0% (1.38 KB)
[#004] sha256:5817f59a9ab6cc87ff60d6ca3315d8fed6f292af5685f02ef908fef132eec10b - 0.0% (1.38 KB)
[#005] sha256:981f15ebe877520027041e32967e0443736e797f4abc93a22ddc1eed4060c5dd - 27.13% (586 MB)
[#006] sha256:d5fc9ad678aabedcf8dd1c27947f1e33dcde52075c89f4d917d9f3684a076988 - 0.0% (1.38 KB)
[#007] sha256:907f58841369518b5dc7236f8a37ea41f5ff03126c3191eecbb33ac9f68333b6 - 0.0% (1.38 KB)
[#008] sha256:9d14f9dfd2dc9d61e382cc2d6407a2515299b39d609d3565f38adf8f96340e64 - 0.0% (1.37 KB)
Apply image 10.0.17763.4499
2023-06-14 19:18:57 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop';]
2023-06-21 01:21:18 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_VERSION=7.0.0-rc4
2023-06-21 01:21:18 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_URL=https://fastdl.mongodb.org/windows/mongodb-windows-x86_64-7.0.0-rc4-signed.msi
2023-06-21 01:21:19 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_SHA256=b8e2fbeee6a8d1b03c8c1f2582d810b15c504e7b59b01d6ab1c9fa5b95995692
2023-06-21 01:23: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-06-21 01:23:41 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) VOLUME [C:\data\db C:\data\configdb]
2023-06-21 01:23:43 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) EXPOSE 27017
2023-06-21 01:23:44 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) CMD ["mongod" "--bind_ip_all"]