2022-01-12 04:18:55 UTC
6.07 GB
40b6f28996f80e4c1922c6e4b61cec0bc16f72cb2f35cb997e64a3a6b6f95074
MONGO_DOWNLOAD_URLhttps://fastdl.mongodb.org/windows/mongodb-windows-x86_64-4.4.11-signed.msi
MONGO_VERSION4.4.11
[#000] sha256:3889bb8d808bbae6fa5a33e07093e65c31371bcf9e4c38c21be6b9af52ad1548 - 62.45% (3.79 GB)
[#001] sha256:8428508ffd63b4af1ba690ec41e82a116f10ec6c3fb70962348f5448d42e5835 - 33.88% (2.06 GB)
[#002] sha256:25aec0a6b64c784bf7521344203ee5def4d38eedfdd68f4b452d3250b5b9ddcf - 0.0% (1.3 KB)
[#003] sha256:096cee0cc7db376090e0dd9d7defe1f7627a70d2d6b02b4e1ecf3f5c66485980 - 0.0% (1.38 KB)
[#004] sha256:ff5004dede5b762ae405522cc3ba9d7be5eb64b5a324fb2f07cd129f9ae8d3ad - 0.0% (1.39 KB)
[#005] sha256:497d1c8289f8045b45a0039d2c542eb077e34b7d205663c54ae3c462755a8dd8 - 0.0% (1.36 KB)
[#006] sha256:5ed2131e441a4faf73f4816b2a640f11be7708ba00d8ac26d2a58a1b9cb6bd49 - 3.67% (228 MB)
[#007] sha256:6975af876365ca64c09b426f272ac90ddfeaa83a0d73eddea9694497b8ea73e5 - 0.0% (1.39 KB)
[#008] sha256:c08d24306fd6ae83c73e0e6733c65a2286ae767bedbfde6b01f7df8715362277 - 0.0% (1.41 KB)
[#009] sha256:ff102b494d003f1ba1b4bdfe2bec4aedcf1443b64f85910bbcf8e2c37842e965 - 0.0% (1.38 KB)
Apply image 1607-RTM-amd64
2022-01-06 14:33:00 UTCInstall update ltsc2016-amd64
2022-01-11 19:57:39 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop';]
2022-01-11 20:01:57 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_VERSION=4.4.11
2022-01-11 20:01:58 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_URL=https://fastdl.mongodb.org/windows/mongodb-windows-x86_64-4.4.11-signed.msi
2022-01-11 20:02:03 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_SHA256=40b6f28996f80e4c1922c6e4b61cec0bc16f72cb2f35cb997e64a3a6b6f95074
2022-01-12 04:18:51 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\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.';
2022-01-12 04:18:52 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) VOLUME [C:\data\db C:\data\configdb]
2022-01-12 04:18:53 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) EXPOSE 27017
2022-01-12 04:18:55 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) CMD ["mongod" "--bind_ip_all"]