2023-06-24 02:50:14 UTC
1.62 GB
369e0cdc34c29290bfcc9d47569e1debad1b86010ea5e00aefd7c670717f434b
MONGO_DOWNLOAD_URLhttps://fastdl.mongodb.org/windows/mongodb-windows-x86_64-5.0.18-signed.msi
MONGO_VERSION5.0.18
[#000] sha256:0ce49598e7371c2c318cfa408f639c917d1f43843fb9e0a3316db1ba7fbb14db - 81.98% (1.33 GB)
[#001] sha256:369acdd1cf7c4d89f87cf3df6c1a935d83dad0afd57c96dcd7251a04481546a0 - 0.0% (1.26 KB)
[#002] sha256:4ee7c4ba5d49212032b37f9b9cf351a2e2e2062accf4271ecb9cca856a812b3c - 0.0% (1.28 KB)
[#003] sha256:c38660b94b51ba0aa9328ccd1757f36a89e5a89a3f6e6f3c13b2ab4cd70f2090 - 0.0% (1.25 KB)
[#004] sha256:4a35a7722bdcf30e101cc41f86c85e2e30e3a6c45e5b81da978354838536d266 - 0.0% (1.29 KB)
[#005] sha256:15717001b851b3e1c1d1d75b72b1ad1ecb6e79add206054aba6a04d45226f111 - 18.02% (299 MB)
[#006] sha256:25112c5312190b3370d1d7854d6125111992d53477fe7ccf6bcb2f49f21cfdcb - 0.0% (1.34 KB)
[#007] sha256:de3db9c9e6f233f0357bd8de03c61d466de4749298b813ff982081e4d48f78bd - 0.0% (1.36 KB)
[#008] sha256:ebb994ff07984a04a33440e72e4ca508518692e317d15a15aa94510f8df75e5a - 0.0% (1.38 KB)
Apply image 10.0.20348.1787
2023-06-24 02:25:59 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop';]
2023-06-24 02:48:44 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_VERSION=5.0.18
2023-06-24 02:48:45 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_URL=https://fastdl.mongodb.org/windows/mongodb-windows-x86_64-5.0.18-signed.msi
2023-06-24 02:48:45 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_SHA256=369e0cdc34c29290bfcc9d47569e1debad1b86010ea5e00aefd7c670717f434b
2023-06-24 02:50:10 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=Client,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 ' mongo --version'; mongo --version; 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-24 02:50:12 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) VOLUME [C:\data\db C:\data\configdb]
2023-06-24 02:50:13 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) EXPOSE 27017
2023-06-24 02:50:14 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) CMD ["mongod" "--bind_ip_all"]