2021-07-19 17:55:26 UTC
2.68 GB
0060783c185c33f688c310f4626a74dc9d6947da26f1b14aee85c68f26f0748c
MONGO_DOWNLOAD_URLhttps://fastdl.mongodb.org/win32/mongodb-win32-x86_64-2008plus-ssl-4.0.26-rc0-signed.msi
MONGO_VERSION4.0.26-rc0
[#000] sha256:4612f6d0b889cad0ed0292fae3a0b0c8a9e49aff6dea8eb049b2386d9b07986f - 59.69% (1.6 GB)
[#001] sha256:f143c6fed32d477c35b660b2e108ea62e3593c03e44bd9ced208ce52b26b0841 - 33.59% (922 MB)
[#002] sha256:adcec6ff907307155c0652222cc9b95a0cc964d4c371e02767e72a5c90472192 - 0.0% (1.39 KB)
[#003] sha256:3a5f8f351c8e7abe58cf4e1a9d29e916bf6bf05f5e8a648645ad5665aff32f0e - 0.0% (1.4 KB)
[#004] sha256:f8cf527039ab2848496cb10e802a91d4ae5638422631575a204d2499cf5f94c4 - 0.0% (1.4 KB)
[#005] sha256:593e6ed152d8defcdcd899c4e87ee595f5d7d142625d0cd13ffb19fcd22f8677 - 0.0% (1.41 KB)
[#006] sha256:18ba57cd5b90f92fce15dc254374bcefc9b6ef5afc8f1b43983357c7b15e83f4 - 6.71% (184 MB)
[#007] sha256:fead8a04e459775494b6d2e023636293936ac54075b25c5a0763b5ad9758cd30 - 0.0% (1.4 KB)
[#008] sha256:42b160a6f626ce508b0078fd6c2c41a6a80230260e4a305946c3954ac83eae88 - 0.0% (1.25 KB)
[#009] sha256:61636371b3524006dbaf560b381cb80be4b33c615f6d607be504ab3cf9855e5c - 0.0% (1.24 KB)
Apply image 1809-RTM-amd64
2021-07-06 20:34:18 UTCInstall update 1809-amd64
2021-07-14 01:07:27 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop';]
2021-07-19 17:52:51 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_VERSION=4.0.26-rc0
2021-07-19 17:52:53 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_URL=https://fastdl.mongodb.org/win32/mongodb-win32-x86_64-2008plus-ssl-4.0.26-rc0-signed.msi
2021-07-19 17:52:55 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_SHA256=0060783c185c33f688c310f4626a74dc9d6947da26f1b14aee85c68f26f0748c
2021-07-19 17:55:18 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-07-19 17:55:21 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) VOLUME [C:\data\db C:\data\configdb]
2021-07-19 17:55:24 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) EXPOSE 27017
2021-07-19 17:55:26 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) CMD ["mongod" "--bind_ip_all"]