2020-08-12 20:01:46 UTC
2.59 GB
fcdadb2d83e21551da2e8302f6cdab69ac840d4b1cca2cb353853c5d81aebac6
MONGO_DOWNLOAD_URLhttps://fastdl.mongodb.org/win32/mongodb-win32-x86_64-2008plus-ssl-4.0.19-signed.msi
MONGO_VERSION4.0.19
[#000] sha256:4612f6d0b889cad0ed0292fae3a0b0c8a9e49aff6dea8eb049b2386d9b07986f - 61.72% (1.6 GB)
[#001] sha256:3ab49687905cb6183025d5ec648fe62fb3d7039a9cf1fe09ef94a62d89d219db - 22.18% (589 MB)
[#002] sha256:a0465a83fdc9bb4320b7a8d4235d585e19f98779b5153f47841875a388f1e8a9 - 0.0% (1.1 KB)
[#003] sha256:cc4b9de491bd7680bcac3094035f32b0c8dbb10d9665bd07a42dd095c0ce047d - 0.0% (1.11 KB)
[#004] sha256:0f47d5b74bdec9cfb34657a15e5e8a85d58c1b68a6a58ccf902f1d0a5d702489 - 0.0% (1.12 KB)
[#005] sha256:87089ed8623e8d95b7c6b36a612a3d00526482e7ce98d2fc76c09d4d1d2cdd02 - 0.0% (1.12 KB)
[#006] sha256:92336dd6cebb1c2e7d42a33dfb963580ae43b1baca9411fb73d00ad1cb056bda - 16.1% (427 MB)
[#007] sha256:0331a1b61361e816d9e8af31729102f779ac75f893666282cd55c7d5e8851fe4 - 0.0% (1.11 KB)
[#008] sha256:ddd82af7273a6536bb67edb0aecafeeaaad349f73520d02e6671e53baf2bf06e - 0.0% (1.1 KB)
[#009] sha256:44ff6d1dfd9f309c8154ea34ef0ebc123e1661de5659a909ff4ca0f5b2305255 - 0.0% (1.1 KB)
Apply image 1809-RTM-amd64
2020-08-06 16:53:49 UTCInstall update 1809-amd64
2020-08-12 12:15:16 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop';]
2020-08-12 19:43:01 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_VERSION=4.0.19
2020-08-12 19:43:02 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_URL=https://fastdl.mongodb.org/win32/mongodb-win32-x86_64-2008plus-ssl-4.0.19-signed.msi
2020-08-12 19:43:02 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_SHA256=fcdadb2d83e21551da2e8302f6cdab69ac840d4b1cca2cb353853c5d81aebac6
2020-08-12 20:01:42 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', '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.';
2020-08-12 20:01:44 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) VOLUME [C:\data\db C:\data\configdb]
2020-08-12 20:01:45 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) EXPOSE 27017
2020-08-12 20:01:46 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) CMD ["mongod" "--bind_ip_all"]