2021-12-18 08:30:43 UTC
2.74 GB
b48fbc7ba392f505a89af03301ed8f3f99b35c6ee8f3c9595cfebacf26ba68ee
MONGO_DOWNLOAD_URLhttps://fastdl.mongodb.org/windows/mongodb-windows-x86_64-4.4.10-signed.msi
MONGO_VERSION4.4.10
[#000] sha256:4612f6d0b889cad0ed0292fae3a0b0c8a9e49aff6dea8eb049b2386d9b07986f - 58.4% (1.6 GB)
[#001] sha256:5ee7a7ea9cf22f75886179907a41810a992e21f3d0c57cc10d2147ce9237701c - 33.66% (944 MB)
[#002] sha256:d22d2238b031d3f13bcd6c144e80f8f8402332b8ee8e53cc54b7912c3ac808cb - 0.0% (1.41 KB)
[#003] sha256:e42502f871d0345eb2f08ae91e195496a2cc17a3e94689838f42de80a7bd0443 - 0.0% (1.39 KB)
[#004] sha256:1d63d10c58f620696828e656563f3e4da1f04809a5d3ae87d94a430391cc903b - 0.0% (1.41 KB)
[#005] sha256:170733aaef4d8887f617335bbefbcaf2da71ddc03e0c0e2eea5387b82ad5b2d6 - 0.0% (1.36 KB)
[#006] sha256:b537d228dfc418e8facc15e07f2b95c5c9a0d26cf6a956a156fadc55453a6718 - 7.94% (223 MB)
[#007] sha256:23ea4a20dbc04960242a758c5e87bdf8c44a7e2c90a0b55daa55041b8e756610 - 0.0% (1.39 KB)
[#008] sha256:09b603c32aafcb2a60374228f94e41ab86bf9c0d565b19c079332d0afc6d3c8c - 0.0% (1.39 KB)
[#009] sha256:27480d3e8a689a755685949fb0ab351bb8636216693210fbb2fb24c761d028e0 - 0.0% (1.41 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:28:18 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_VERSION=4.4.10
2021-12-18 08:28:19 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_URL=https://fastdl.mongodb.org/windows/mongodb-windows-x86_64-4.4.10-signed.msi
2021-12-18 08:28:20 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_SHA256=b48fbc7ba392f505a89af03301ed8f3f99b35c6ee8f3c9595cfebacf26ba68ee
2021-12-18 08:30: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=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.';
2021-12-18 08:30:41 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) VOLUME [C:\data\db C:\data\configdb]
2021-12-18 08:30:42 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) EXPOSE 27017
2021-12-18 08:30:43 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) CMD ["mongod" "--bind_ip_all"]