2021-06-10 21:44:24 UTC
6.11 GB
95a544cac5279c485d634538dc8e09e31409b1fd4bbda9eecfd4db655ea70712
MONGO_DOWNLOAD_URLhttps://fastdl.mongodb.org/windows/mongodb-windows-x86_64-5.0.0-rc1-signed.msi
MONGO_VERSION5.0.0-rc1
[#000] sha256:3889bb8d808bbae6fa5a33e07093e65c31371bcf9e4c38c21be6b9af52ad1548 - 62.05% (3.79 GB)
[#001] sha256:2f52abeee6d6f4a925ad418b5e6200d4fca9bf92834ffc918b8bbaccd34251db - 33.47% (2.04 GB)
[#002] sha256:fa4e6085e5538e957ef06561fe1e62dff898da7f4bb577e81da74323aecab2d7 - 0.0% (1.26 KB)
[#003] sha256:11ec67bff12bdf84c3c81c69945ece1669b5a190ecda735f8ed9a88f79a5f4d9 - 0.0% (1.37 KB)
[#004] sha256:65c7779465a402a198bcb9c4ddbb21fb4e64c2d0c2e3dee6e97e179670c7adad - 0.0% (1.4 KB)
[#005] sha256:743ebb8618532c9605c00bd90f12fdae5b535b0eab0490948336913b46ea8a2f - 0.0% (1.4 KB)
[#006] sha256:0572a2cd760bb8f5af4c8958cb053267f10e693ca669ef1437d8076b5f961330 - 4.48% (280 MB)
[#007] sha256:f14c5a81ef3e856d823c271de98a905cc6d3d90efd61ea0b01f6244db4acb1e7 - 0.0% (1.4 KB)
[#008] sha256:0ed94ad056c9ca9fad9302bd8081a232cbf98231188919cb4bbd30402247e8a8 - 0.0% (1.3 KB)
[#009] sha256:4c8506c12dcc17c702790687f5704c086ccd50ebce23092f326dcff379e10bea - 0.0% (1.4 KB)
Apply image 1607-RTM-amd64
2021-06-06 15:37:00 UTCInstall update ltsc2016-amd64
2021-06-09 13:26:15 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop';]
2021-06-10 21:41:04 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_VERSION=5.0.0-rc1
2021-06-10 21:41:07 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_URL=https://fastdl.mongodb.org/windows/mongodb-windows-x86_64-5.0.0-rc1-signed.msi
2021-06-10 21:41:10 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_SHA256=95a544cac5279c485d634538dc8e09e31409b1fd4bbda9eecfd4db655ea70712
2021-06-10 21:44:15 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-06-10 21:44:18 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) VOLUME [C:\data\db C:\data\configdb]
2021-06-10 21:44:21 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) EXPOSE 27017
2021-06-10 21:44:24 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) CMD ["mongod" "--bind_ip_all"]