2022-01-12 03:49:31 UTC
6.13 GB
a791d7197849516381b3dc5b2ebb988432b95b52e347a3ce3d70d026d108886a
MONGO_DOWNLOAD_URLhttps://fastdl.mongodb.org/windows/mongodb-windows-x86_64-5.0.5-signed.msi
MONGO_VERSION5.0.5
[#000] sha256:3889bb8d808bbae6fa5a33e07093e65c31371bcf9e4c38c21be6b9af52ad1548 - 61.88% (3.79 GB)
[#001] sha256:8428508ffd63b4af1ba690ec41e82a116f10ec6c3fb70962348f5448d42e5835 - 33.57% (2.06 GB)
[#002] sha256:25aec0a6b64c784bf7521344203ee5def4d38eedfdd68f4b452d3250b5b9ddcf - 0.0% (1.3 KB)
[#003] sha256:046844be24c39b046f3a30d67f1b83b540a31f9852d586f5811a6f6289ff6ed1 - 0.0% (1.39 KB)
[#004] sha256:222523fc0891c2795074701874893020928a21dc908953714eee5e4716bf1be3 - 0.0% (1.41 KB)
[#005] sha256:ccef3ff3c0b4ed8debb0dc0c482f37b17aefab10bc0fc79c8b0c2b65ed515b38 - 0.0% (1.38 KB)
[#006] sha256:7f23339222116a478dfc7220026853efd10190cf7816b98ea6bba1c1bb109095 - 4.55% (286 MB)
[#007] sha256:0efe1c64a64a0dffdbd4d01dbf0514c5c0d860f673185935b6cb297c15dcdac1 - 0.0% (1.39 KB)
[#008] sha256:7f6fa68f38649aa62892b686b6f0287bbc2dbebaf82a4cd7360e5a0332bc4847 - 0.0% (1.38 KB)
[#009] sha256:d6112b424191e33808077abafe3e1a861f7ce752cd8ad9023304ca344e36d719 - 0.0% (1.36 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:00:15 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_VERSION=5.0.5
2022-01-11 20:00:16 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_URL=https://fastdl.mongodb.org/windows/mongodb-windows-x86_64-5.0.5-signed.msi
2022-01-11 20:00:17 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_SHA256=a791d7197849516381b3dc5b2ebb988432b95b52e347a3ce3d70d026d108886a
2022-01-12 03:49:27 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 03:49:28 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) VOLUME [C:\data\db C:\data\configdb]
2022-01-12 03:49:29 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) EXPOSE 27017
2022-01-12 03:49:31 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) CMD ["mongod" "--bind_ip_all"]