2021-12-18 08:40:38 UTC
2.79 GB
52d2c3c59b2d3b508441538956f6604a066ae959912299b7dd9cc8a33f65696f
MONGO_DOWNLOAD_URLhttps://fastdl.mongodb.org/win32/mongodb-win32-x86_64-2012plus-4.2.18-rc0-signed.msi
MONGO_VERSION4.2.18-rc0
[#000] sha256:4612f6d0b889cad0ed0292fae3a0b0c8a9e49aff6dea8eb049b2386d9b07986f - 57.41% (1.6 GB)
[#001] sha256:5ee7a7ea9cf22f75886179907a41810a992e21f3d0c57cc10d2147ce9237701c - 33.08% (944 MB)
[#002] sha256:d22d2238b031d3f13bcd6c144e80f8f8402332b8ee8e53cc54b7912c3ac808cb - 0.0% (1.41 KB)
[#003] sha256:a8761f2cbd8a0581bddca9ed0829076afc60e9496c1bebb18ef9f79f57403379 - 0.0% (1.41 KB)
[#004] sha256:fbdcd41745d1857b88b1a649edb2d6a0c6234af38aaadfc5c1b6aabf875e7b6e - 0.0% (1.39 KB)
[#005] sha256:beeed7180eebfdc5903487d157af0dd4991c6b32bb8c8fca9eed002ce0e0d32e - 0.0% (1.4 KB)
[#006] sha256:fab138de402950e4ebb8a3131f7b8133eae0ba3c5d6d06621ce1c356d9b2d26d - 9.51% (271 MB)
[#007] sha256:1ac9a282840185405f6f59aa35a22b8c10d7df3fab7b310013246614cc8bed8c - 0.0% (1.38 KB)
[#008] sha256:f01e9e9cf1c9925a8a8cdc2385262ca5447989b11ba262705973355318f18ad2 - 0.0% (1.39 KB)
[#009] sha256:93650b843810d0aaf00661e3e8d032d016148d1ef1e3b1905d091c8b537dbaad - 0.0% (1.4 KB)
Apply image 1809-RTM-amd64
2021-12-07 04:56:01 UTCInstall update 1809-amd64
2021-12-18 01:40:43 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop';]
2021-12-18 08:38:05 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_VERSION=4.2.18-rc0
2021-12-18 08:38:06 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_URL=https://fastdl.mongodb.org/win32/mongodb-win32-x86_64-2012plus-4.2.18-rc0-signed.msi
2021-12-18 08:38:07 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_SHA256=52d2c3c59b2d3b508441538956f6604a066ae959912299b7dd9cc8a33f65696f
2021-12-18 08:40:35 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,ImportExportTools,MiscellaneousTools,MonitoringTools,Router,ServerNoService' ); if (-Not (Test-Path C:\mongodb\bin\mongo.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.';
2021-12-18 08:40:36 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) VOLUME [C:\data\db C:\data\configdb]
2021-12-18 08:40:37 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) EXPOSE 27017
2021-12-18 08:40:38 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) CMD ["mongod" "--bind_ip_all"]