2021-04-14 20:45:55 UTC
2.52 GB
32ff04b705f5a47c3974c8c5c7d859ea2fbfeb328101b2f84314e0cb6d3aea55
MONGO_DOWNLOAD_URLhttps://fastdl.mongodb.org/win32/mongodb-win32-x86_64-2008plus-ssl-4.0.23-signed.msi
MONGO_VERSION4.0.23
[#000] sha256:4612f6d0b889cad0ed0292fae3a0b0c8a9e49aff6dea8eb049b2386d9b07986f - 63.63% (1.6 GB)
[#001] sha256:399f118dfaa9a753e98d128238b944432c7bcabea88a2998a6efbbece28ed303 - 27.82% (717 MB)
[#002] sha256:b2159a5d0f75ce11e6fe71e4260ede5c3c88a9eb76a0ff43ac6746b2b9b96775 - 0.0% (1.41 KB)
[#003] sha256:409466611ee1364236350215f485707cae52119cd5c97b47317cd9ed3018c2d2 - 0.0% (1.4 KB)
[#004] sha256:081c24f02e2e16396191a13b2742e40c1a5f262b69bd4d18c5c4b837e482d3a6 - 0.0% (1.39 KB)
[#005] sha256:343c6c486f4227349ac5e2f642edf268ad5e017ed37353b416ecd98599743ebc - 0.0% (1.38 KB)
[#006] sha256:8730ce7d388c3bc25e635f7b2725c5119f708b0f6e3f5483e21c2861219d42cf - 8.55% (220 MB)
[#007] sha256:dcfc172d1045855c586c7b613ae760d5d94be085cd4e48ae85a8a09498797c70 - 0.0% (1.4 KB)
[#008] sha256:c83f6cd1c31087082f1d2981dcb09617ebe2b349720d7f8cfecd01c5a11d7c80 - 0.0% (1.4 KB)
[#009] sha256:7a04375f88a86716c75a7c9eca727bcbf5857811c6ed9fef945b65ee7c571dff - 0.0% (1.39 KB)
Apply image 1809-RTM-amd64
2021-04-09 20:34:41 UTCInstall update 1809-amd64
2021-04-14 13:10:28 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop';]
2021-04-14 20:43:18 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_VERSION=4.0.23
2021-04-14 20:43:19 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_URL=https://fastdl.mongodb.org/win32/mongodb-win32-x86_64-2008plus-ssl-4.0.23-signed.msi
2021-04-14 20:43:20 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_SHA256=32ff04b705f5a47c3974c8c5c7d859ea2fbfeb328101b2f84314e0cb6d3aea55
2021-04-14 20:45: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=ServerNoService,Client,Router,MiscellaneousTools,MonitoringTools,ImportExportTools' ); 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-04-14 20:45:53 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) VOLUME [C:\data\db C:\data\configdb]
2021-04-14 20:45:54 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) EXPOSE 27017
2021-04-14 20:45:55 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) CMD ["mongod" "--bind_ip_all"]