Namespace
library
Image / Tag
mongo:4.2.7-windowsservercore-ltsc2016
Content Digest
sha256:975b77e8a5ab2fccec601a7211e17079ea85c2f8a067610d47cf27f7392f1195
Details
Created

2020-06-10 19:32:26 UTC

Size

5.77 GB

Content Digest
Environment
MONGO_DOWNLOAD_SHA256

d085db55ea34452617e73a5d7ad80fbc4b9eaf75990e49080a7c3ced13fbb42c

MONGO_DOWNLOAD_URL

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

MONGO_VERSION

4.2.7


Layers

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

[#001] sha256:375fbabb84945635805b46a02a17ac15a3177bcaae7404cfab5f1ceb0460cb60 - 26.87% (1.55 GB)

[#002] sha256:30efe9163d37226b077b25cd93b088cebd2ddbaadf173d143b9fe0ddecaeae53 - 0.0% (1.12 KB)

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

[#004] sha256:6ea16fd5ed30cd201e49ee9e501ce5ea00dd4ceda3fa7ec9338cffc185660c4e - 0.0% (1.13 KB)

[#005] sha256:00d98608d796c856fb7bb29dad42ffbf1ddfce2455ac4816b877d8f44282de6e - 0.0% (1.12 KB)

[#006] sha256:6e51b295ad82146db41e893e86888afe5cb66ec1d52d83b288867a98ca6181a3 - 7.41% (438 MB)

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

[#008] sha256:f2d6cf437294d3ca3355b148a020516f4d20e8dcd6c8f5f3a4afb6fafdccb433 - 0.0% (1.13 KB)

[#009] sha256:4958d78624160751c4751755488c142c33d95b16799dbbd5238f9a733e80df1d - 0.0% (1.1 KB)


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

Apply image 1607-RTM-amd64

2020-06-01 18:53:00 UTC

Install update ltsc2016-amd64

2020-06-10 12:52:06 UTC

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

2020-06-10 19:13:56 UTC

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

2020-06-10 19:13:57 UTC

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

2020-06-10 19:13:57 UTC

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

2020-06-10 19:32:22 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-06-10 19:32:23 UTC

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

2020-06-10 19:32:25 UTC

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

2020-06-10 19:32:26 UTC

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