2022-01-24 23:48:34 UTC
2.27 GB
021a7ded33dbed718a969a098303d3753513d343efb0e33aae338de3f53d0071
MONGO_DOWNLOAD_URLhttps://fastdl.mongodb.org/win32/mongodb-win32-x86_64-2008plus-ssl-4.0.28-rc0-signed.msi
MONGO_VERSION4.0.28-rc0
[#000] sha256:8f616e6e9eec767c425fd9346648807d1b658d20ff6097be1d955aac69c26642 - 51.39% (1.17 GB)
[#001] sha256:0e02c12b1310e6c76c29fcd6f81905400fdb6a01caac9dc825939ad004baffef - 39.24% (912 MB)
[#002] sha256:8c23346c84162bdf06f85b57d55396916bb13e6a631f65a1e6ee317bfe8a7f8a - 0.0% (1.39 KB)
[#003] sha256:26ed8b437b456427f20dfc6d9710ff12eb10054c30500916b233d0463be4a4ee - 0.0% (1.38 KB)
[#004] sha256:a5884fc34bfa560042fca3f3b6cd9b3ce4284e70209eda7d702a3f66b89a2d02 - 0.0% (1.4 KB)
[#005] sha256:e5901a04165f9996f0c78e3fd49bb7c4b3d28d289f01fa12efbee33b8812c780 - 0.0% (1.38 KB)
[#006] sha256:13b688d256c4de741996cf10aee48fa09536f1ac8da96fc8be25d34a87a9a0a2 - 9.36% (217 MB)
[#007] sha256:0d5f977677f1a4230280c4be95fe76e725823968dbdee672d528a4fe526fd42a - 0.0% (1.4 KB)
[#008] sha256:60d9842ff3d1a15e08f588ac9a7d76893e4f000999e38473e993f85f15067c70 - 0.0% (1.4 KB)
[#009] sha256:8a93f9783d1cb947f95fb02d4f3311a0e59c2c6d3d359ea9cf4c6859db20a0d4 - 0.0% (1.4 KB)
Apply image 2022-RTM-amd64
2022-01-16 05:17:24 UTCInstall update ltsc2022-amd64
2022-01-24 23:14:57 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop';]
2022-01-24 23:46:08 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_VERSION=4.0.28-rc0
2022-01-24 23:46:09 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_URL=https://fastdl.mongodb.org/win32/mongodb-win32-x86_64-2008plus-ssl-4.0.28-rc0-signed.msi
2022-01-24 23:46:11 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_SHA256=021a7ded33dbed718a969a098303d3753513d343efb0e33aae338de3f53d0071
2022-01-24 23:48:28 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.';
2022-01-24 23:48:31 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) VOLUME [C:\data\db C:\data\configdb]
2022-01-24 23:48:33 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) EXPOSE 27017
2022-01-24 23:48:34 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) CMD ["mongod" "--bind_ip_all"]