Namespace
library
Image / Tag
mongo:4.2.8-windowsservercore-1809
Content Digest
sha256:45bcd878e9de8fa009acca63738e6541d42cb56f580c57cb64b859927ceb3637
Details
Created

2020-08-12 20:34:51 UTC

Size

2.6 GB

Content Digest
Environment
MONGO_DOWNLOAD_SHA256

166c5cd99132d72969a67446e494da6287710a34f3f75ee9fb798a2945c0f502

MONGO_DOWNLOAD_URL

https://fastdl.mongodb.org/win32/mongodb-win32-x86_64-2012plus-4.2.8-signed.msi

MONGO_VERSION

4.2.8


Layers

[#000] sha256:4612f6d0b889cad0ed0292fae3a0b0c8a9e49aff6dea8eb049b2386d9b07986f - 61.5% (1.6 GB)

[#001] sha256:3ab49687905cb6183025d5ec648fe62fb3d7039a9cf1fe09ef94a62d89d219db - 22.1% (589 MB)

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

[#003] sha256:6f8f485c4fcf17152559a89206593fe2a133559ae35b8e5226df18233bb6a29d - 0.0% (1.13 KB)

[#004] sha256:e2c29d0f444afad58be341423334f449d8c68227100b7812ddc6849a12311023 - 0.0% (1.1 KB)

[#005] sha256:5d8541d508faef1ced258bf2fe60980350cdf2245cd6a5affa7523f4aac9aed0 - 0.0% (1.11 KB)

[#006] sha256:ad0a380939bd96fc14221db1d7f04347148ceb109ddaaf9a877f59e4aef5030c - 16.4% (437 MB)

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

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

[#009] sha256:79ac22a1e2aa9b42ffa192f0909b4c32685854553fc1b0bae6366659adce675d - 0.0% (1.12 KB)


History
2020-05-07 05:09:25 UTC

Apply image 1809-RTM-amd64

2020-08-06 16:53:49 UTC

Install update 1809-amd64

2020-08-12 12:15:16 UTC

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

2020-08-12 20:15:51 UTC

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

2020-08-12 20:15:52 UTC

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

2020-08-12 20:15:53 UTC

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

2020-08-12 20:34:49 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-08-12 20:34:50 UTC

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

2020-08-12 20:34:51 UTC

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

2020-08-12 20:34:51 UTC

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