Namespace
library
Image / Tag
mongo:4.0.17-windowsservercore-ltsc2016
Content Digest
sha256:d12f14918eef009970bfdba54b4fd7d69228c1be0d44a7c9830073d5f2a57e97
Details
Created

2020-04-15 20:20:09 UTC

Size

5.75 GB

Content Digest
Environment
MONGO_DOWNLOAD_SHA256

386ce5434bd2b780633e2d6cb648a3f30dfbfb429c1dd636358b098f009f34cb

MONGO_DOWNLOAD_URL

https://fastdl.mongodb.org/win32/mongodb-win32-x86_64-2008plus-ssl-4.0.17-signed.msi

MONGO_VERSION

4.0.17


Layers

[#000] sha256:3889bb8d808bbae6fa5a33e07093e65c31371bcf9e4c38c21be6b9af52ad1548 - 65.91% (3.79 GB)

[#001] sha256:d0099407ec8ccaf0472e55152e38b262bdf0b2cf8dfd2e8afcc89d728ba3f5a0 - 26.85% (1.54 GB)

[#002] sha256:5171ed01a0687a59b2bdf59e2df29a8932abe0ee22a4a6ff6368f8a8295a97d1 - 0.0% (1.1 KB)

[#003] sha256:1f33a2590675850f3d7ec6182c33607c69dbc22092b0f6593a871d0a340fc114 - 0.0% (1.1 KB)

[#004] sha256:784766a5e489a44bc4b5fd75f5aba77f287c59891222ebb51795a6afbb1eb0af - 0.0% (1.12 KB)

[#005] sha256:c03a93cd1177e482e95b1a529b548dec3b4410dd81b570c41d8689ffebad7da1 - 0.0% (1.13 KB)

[#006] sha256:f1c5917c686237bbd728064edc04f838c67be0696def4ecc68cc9a6ff15d4b06 - 7.23% (426 MB)

[#007] sha256:b1c4649db640d1ae55ca5ba5e12ac55e1e084801c17eaeb2dfb075ec1ff479a4 - 0.0% (1.16 KB)

[#008] sha256:daa05bd65e2ce3924a01ade3e4a3f70539db027dace5b17516ab1957f08bffff - 0.0% (1.1 KB)

[#009] sha256:68dd686b91a76300fca17acc487e532face8f379b700af4419b769a235437224 - 0.0% (1.12 KB)


History
2016-11-19 17:05:00 UTC

Apply image 1607-RTM-amd64

2020-04-07 17:30:00 UTC

Install update ltsc2016-amd64

2020-04-15 12:52:51 UTC

powershell -Command $ErrorActionPreference = 'Stop'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop';]

2020-04-15 20:03:17 UTC

powershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_VERSION=4.0.17

2020-04-15 20:03:18 UTC

powershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_URL=https://fastdl.mongodb.org/win32/mongodb-win32-x86_64-2008plus-ssl-4.0.17-signed.msi

2020-04-15 20:03:19 UTC

powershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_SHA256=386ce5434bd2b780633e2d6cb648a3f30dfbfb429c1dd636358b098f009f34cb

2020-04-15 20:20:05 UTC

powershell -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-04-15 20:20:07 UTC

powershell -Command $ErrorActionPreference = 'Stop'; #(nop) VOLUME [C:\data\db C:\data\configdb]

2020-04-15 20:20:08 UTC

powershell -Command $ErrorActionPreference = 'Stop'; #(nop) EXPOSE 27017

2020-04-15 20:20:09 UTC

powershell -Command $ErrorActionPreference = 'Stop'; #(nop) CMD ["mongod" "--bind_ip_all"]