2019-03-15 10:48:10 UTC
3.07 GB
b0de0cc0e3b1af73435e4b11a61776af4ee178339abdd2d31674d14ab7f1bbc0
MONGO_DOWNLOAD_URLhttps://downloads.mongodb.org/win32/mongodb-win32-x86_64-2012plus-4.1.8-signed.msi
MONGO_VERSION4.1.8
[#000] sha256:5847a47b8593f7c39aa5e3db09e50b76d42aa8898c0440c70cc9c69747d4c479 - 69.01% (2.12 GB)
[#001] sha256:7f4a716683dc03db3521ed040924c24ea9bd17c7f134c09bf22e33f6af33ade8 - 28.42% (893 MB)
[#002] sha256:b217250878f40ff58563b56494c3225f606f7bde90c1be1e82385924187428f2 - 0.0% (1.18 KB)
[#003] sha256:858acf7445626e91cdc30b45e8ebc914cb225681392fbf2f97f7cb3eeb43ca13 - 0.0% (1.19 KB)
[#004] sha256:78e62e42cb09b00a3166bdc2d39370ca89bc613c49c8cd4c75427f75d1456086 - 0.0% (1.18 KB)
[#005] sha256:10ac3521eab79573ccd986e6ac3530ea4b0e6f292831fd30795a2a810dc39dfa - 0.0% (1.18 KB)
[#006] sha256:494eb4ba0307045eecbff0de3d1c18cd816a4839d7edcefc9d205b68f68a26a8 - 2.57% (80.9 MB)
[#007] sha256:0bdedc19f3633f2bc28d2e1972ab2eba21c745531cde8217e33e1227e8480703 - 0.0% (1.16 KB)
[#008] sha256:d185e7e2dc7839ea420af948fa28de0345da5f9e1de2660b88296283934e7654 - 0.0% (1.17 KB)
[#009] sha256:7722ac83d974ee896d7d17f4f459290434599396c41e059167d7f8972a136adc - 0.0% (1.18 KB)
Apply image 10.0.16299.15
2019-03-09 05:26:00 UTCInstall update 10.0.16299.1029
2019-03-15 09:46:52 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop';]
2019-03-15 10:44:20 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_VERSION=4.1.8
2019-03-15 10:44:21 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_URL=https://downloads.mongodb.org/win32/mongodb-win32-x86_64-2012plus-4.1.8-signed.msi
2019-03-15 10:44:22 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_SHA256=b0de0cc0e3b1af73435e4b11a61776af4ee178339abdd2d31674d14ab7f1bbc0
2019-03-15 10:48:04 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'); 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', 'INSTALLLOCATION=C:\mongodb', 'ADDLOCAL=all' ); $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:\mongodb\bin\*.pdb -Force; Remove-Item C:\windows\installer\*.msi -Force; Remove-Item mongo.msi -Force; Write-Host 'Complete.';
2019-03-15 10:48:06 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) VOLUME [C:\data\db C:\data\configdb]
2019-03-15 10:48:08 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) EXPOSE 27017
2019-03-15 10:48:10 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) CMD ["mongod" "--bind_ip_all"]