2021-05-12 00:02:54 UTC
5.61 GB
ebc275ea0b2f69f2297e329877cb8174c69d2a5da3c41306b5b7a06aa45796e8
MONGO_DOWNLOAD_URLhttps://fastdl.mongodb.org/win32/mongodb-win32-x86_64-2008plus-ssl-3.6.23-signed.msi
MONGO_VERSION3.6.23
[#000] sha256:3889bb8d808bbae6fa5a33e07093e65c31371bcf9e4c38c21be6b9af52ad1548 - 67.53% (3.79 GB)
[#001] sha256:7f532f88613ca85064b055f6b93f8517bd05feba8fdce495a6ad1421573e765e - 28.63% (1.61 GB)
[#002] sha256:50d0f4595a2bdc5dc0623fbee162be09d0631373eb9e82a0b1ec387ce1512c49 - 0.0% (1.4 KB)
[#003] sha256:596c5d1b769ad56f554cfdc9054daac0721d63847b03ba62f4a17c23cdfbf3c8 - 0.0% (1.4 KB)
[#004] sha256:58f43a73bd273da7241a2f64cb84499c09b0ad3d8dd4ce5b851e218e6fcb8472 - 0.0% (1.39 KB)
[#005] sha256:e836f67bccbeea6d12c908fc5e144a71010a49dbfd2071d46a2a06f9ebbdb7f0 - 0.0% (1.38 KB)
[#006] sha256:84fa3ead545ee758764b89edc5be38cea416a1077955eae832ccd07a9a03126f - 3.84% (221 MB)
[#007] sha256:4937272dbd650948962febfb036ef9dad8bf8dbb2d32555a076aa55ebef6bd6d - 0.0% (1.4 KB)
[#008] sha256:c81698c4f9c159f4ffcdb5cc1ce672406ae0d687b2128e3b9c1aab3d18c7cc97 - 0.0% (1.4 KB)
[#009] sha256:41d3078b1b4da7eaf5e95d1d6a3aed9be85d236da0320cf91fca513793acf8fb - 0.0% (1.4 KB)
Apply image 1607-RTM-amd64
2021-04-26 17:25:00 UTCInstall update ltsc2016-amd64
2021-05-11 23:58:33 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop';]
2021-05-11 23:58:34 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_VERSION=3.6.23
2021-05-11 23:58:36 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_URL=https://fastdl.mongodb.org/win32/mongodb-win32-x86_64-2008plus-ssl-3.6.23-signed.msi
2021-05-11 23:58:37 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_SHA256=ebc275ea0b2f69f2297e329877cb8174c69d2a5da3c41306b5b7a06aa45796e8
2021-05-12 00:02:47 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=Server,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-05-12 00:02:50 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) VOLUME [C:\data\db C:\data\configdb]
2021-05-12 00:02:52 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) EXPOSE 27017
2021-05-12 00:02:54 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) CMD ["mongod" "--bind_ip_all"]