Namespace
library
Image / Tag
mongo:4.0.25-windowsservercore-ltsc2016
Content Digest
sha256:5f45a5860ba0d0c3964b0ddf1ae1dd82773db6ca3e1870113be23142e9a2a169
Details
Created

2021-07-14 01:59:24 UTC

Size

6.05 GB

Content Digest
Environment
MONGO_DOWNLOAD_SHA256

6d4525afbf17d6d9f54323f8d95c73019e3cb0fa57163683a164f3c403aa451f

MONGO_DOWNLOAD_URL

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

MONGO_VERSION

4.0.25


Layers

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

[#001] sha256:a567de41cc349380b25967f180fb1b6b2431bda61ccaaf69d78a33bc9523614a - 33.83% (2.05 GB)

[#002] sha256:fed351b78c876c55ec9c7e75d3b9d1b146c5c5dfeb4b5480c0a7c384322df98c - 0.0% (1.41 KB)

[#003] sha256:ff86279d1d84b10286990b5484629358f86cff7cd657d2422303bbabc8b98742 - 0.0% (1.42 KB)

[#004] sha256:a6c3614115c6fb6d206a365d706c59cd25b0ed4597b864d5e70a9efed227cbc4 - 0.0% (1.36 KB)

[#005] sha256:5111740826706220595e382eeb69c226114a37a6ef4650d19fa7f427cee39229 - 0.0% (1.38 KB)

[#006] sha256:ba3acb63f3086fa4f8103a41311264a14d5ee7674be57bf0637326a2a345e301 - 3.56% (221 MB)

[#007] sha256:c455f5394e126089c6c754a4dbdceca618ed33025d52fb0616b32d8a48a6a78b - 0.0% (1.43 KB)

[#008] sha256:6ed5068b93206d48466193e2723871f8515debf4c57eead083043c35ed91734f - 0.0% (1.39 KB)

[#009] sha256:b2cdd61bcb37b755b1cee6f9830607c7e557bba119bdebe9269173edde6691d6 - 0.0% (1.39 KB)


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

Apply image 1607-RTM-amd64

2021-07-09 05:02:00 UTC

Install update ltsc2016-amd64

2021-07-14 01:14:25 UTC

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

2021-07-14 01:55:52 UTC

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

2021-07-14 01:55:56 UTC

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

2021-07-14 01:55:59 UTC

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

2021-07-14 01:59:14 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', '/l*v', 'install.log', 'INSTALLLOCATION=C:\mongodb', 'ADDLOCAL=Client,ImportExportTools,MiscellaneousTools,MonitoringTools,Router,ServerNoService' ); 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-07-14 01:59:18 UTC

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

2021-07-14 01:59:21 UTC

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

2021-07-14 01:59:24 UTC

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

Danger Zone
Delete Tag

Please be careful as this will not just delete the reference but also the actual content!

For example when you have latest and v1.2.3 both pointing to the same image
the deletion of latest will also permanently remove v1.2.3.

Delete