Namespace
library
Image / Tag
mongo:4.0.16-windowsservercore-ltsc2016
Content Digest
sha256:170e11a97cc11bf176abe59cf0dfbf2b7eb59040b0144664e091d176c0d2ce26
Details
Created

2020-03-18 15:29:09 UTC

Size

5.42 GB

Content Digest
Environment
MONGO_DOWNLOAD_SHA256

d871d52110ed3c6600273d44e557ab63fc4104aa84b6115ad4dc0b68f90c062d

MONGO_DOWNLOAD_URL

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

MONGO_VERSION

4.0.16


Layers

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

[#001] sha256:a5d20b7a2294a0d2631f74f49fc34574484a692913559546ef0bceae789fd7a8 - 28.52% (1.54 GB)

[#002] sha256:8cd5aa189dca96a2d4bcc0e2516d85f8a69d277957f44aca08575ecf42e5bc2f - 0.0% (1.08 KB)

[#003] sha256:e39cfd8061ac5f5196bdcf908fc2f519a2e33b8ca057a21a772254073e57d86a - 0.0% (1.12 KB)

[#004] sha256:71241101f48e949a69f6200a4e801de6e7eee9b5f57df6952306cdad990dd56b - 0.0% (1.12 KB)

[#005] sha256:8278ff1009a5a63dbbc308f8d7fdcb51724d6553a82381703959ef3d667ece90 - 0.0% (1.12 KB)

[#006] sha256:89b3ec71fd8cd53ab394627955493f290da69e9cdd7de6bd9d2ff4e776d62077 - 1.49% (82.7 MB)

[#007] sha256:fc0c7e3e6269839b4ec0d9575e976e15efdb1a21aa24bc67ad9400052ae1b998 - 0.0% (1.1 KB)

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

[#009] sha256:8c2fe07ad4ecf1b261a56948871cb652f4c43104b78bf2bc8887b5e84d810c68 - 0.0% (1.11 KB)


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

Apply image 1607-RTM-amd64

2020-03-10 08:14:00 UTC

Install update ltsc2016-amd64

2020-03-18 12:27:51 UTC

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

2020-03-18 15:15:24 UTC

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

2020-03-18 15:15:25 UTC

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

2020-03-18 15:15:25 UTC

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

2020-03-18 15:29:06 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-03-18 15:29:07 UTC

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

2020-03-18 15:29:08 UTC

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

2020-03-18 15:29:09 UTC

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