2021-04-14 20:53:03 UTC
2.57 GB
36253a0bac369179e6906144d67458c9547ae6bfa2680b2440d2538c7de25230
MONGO_DOWNLOAD_URLhttps://fastdl.mongodb.org/win32/mongodb-win32-x86_64-2012plus-4.2.13-signed.msi
MONGO_VERSION4.2.13
[#000] sha256:4612f6d0b889cad0ed0292fae3a0b0c8a9e49aff6dea8eb049b2386d9b07986f - 62.34% (1.6 GB)
[#001] sha256:399f118dfaa9a753e98d128238b944432c7bcabea88a2998a6efbbece28ed303 - 27.26% (717 MB)
[#002] sha256:b2159a5d0f75ce11e6fe71e4260ede5c3c88a9eb76a0ff43ac6746b2b9b96775 - 0.0% (1.41 KB)
[#003] sha256:b31541dbae53d6dbda98ebee59110aeed40fa7364f15f4e820e37e0daee1394b - 0.0% (1.4 KB)
[#004] sha256:503f420cbfea6e9ae116b0c91b215b1e02a22d9d6bd528ddc4c2d587fa0be229 - 0.0% (1.4 KB)
[#005] sha256:18aaf85352e411eba9c4ee6bc90be7c1de6a1b89aa4db4cb6a1f45989c6daa49 - 0.0% (1.39 KB)
[#006] sha256:587ff69553b52609642775b5ba86aa85262957b465dce25d641cd693c5e120ad - 10.4% (273 MB)
[#007] sha256:aeeda71e3138889da5e221434b7d4460d3d4e644d16590501159639c4554b5da - 0.0% (1.4 KB)
[#008] sha256:6e5658c34351c0369e3f5cf396971112fe29507ce3b58ee5956df7e6a5c4b0a6 - 0.0% (1.4 KB)
[#009] sha256:3ceaa9694cd6b657dc01520995ea34e66b076a1b7f3ac87ef9acf803b88f5ab0 - 0.0% (1.4 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:50:03 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_VERSION=4.2.13
2021-04-14 20:50:05 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_URL=https://fastdl.mongodb.org/win32/mongodb-win32-x86_64-2012plus-4.2.13-signed.msi
2021-04-14 20:50:06 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_SHA256=36253a0bac369179e6906144d67458c9547ae6bfa2680b2440d2538c7de25230
2021-04-14 20:52:58 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:53:00 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) VOLUME [C:\data\db C:\data\configdb]
2021-04-14 20:53:01 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) EXPOSE 27017
2021-04-14 20:53:03 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) CMD ["mongod" "--bind_ip_all"]