Namespace
library
Image / Tag
mongo:4.2.19-windowsservercore-ltsc2022
Content Digest
sha256:da81afb9eff34117fa4ad92a3a34ebd440aa3b9e9d4d8977958161115fa6ffca
Details
Created

2022-05-11 17:00:57 UTC

Size

2.35 GB

Content Digest
Environment
MONGO_DOWNLOAD_SHA256

6470b3208da1f913014af94b07e1e28bb831a36fb3c130acc9d4949dde6fa7a8

MONGO_DOWNLOAD_URL

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

MONGO_VERSION

4.2.19


Layers

[#000] sha256:97f65a0ec59e643faf84024aa713a9be059322380315fda829756bbbd96d6258 - 56.96% (1.34 GB)

[#001] sha256:12fb50a031bdc8d2b65d86d694a4ed20e937852ed1bd3c433d8f2f60279cecc7 - 31.74% (764 MB)

[#002] sha256:52d280e9bf32da92b07a144022b757d7e39ac8039e166551ad32f8ee416bb55f - 0.0% (1.26 KB)

[#003] sha256:898d1f4d723cb959b7827967bf63b4bb81e7c02bf8f5ea1ed9462cef5ee979e1 - 0.0% (1.38 KB)

[#004] sha256:08f53dbaa85bf9ff5099a38c07f7490f44f72ce4133b21be9bbfa330d753d96f - 0.0% (1.39 KB)

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

[#006] sha256:4a4d645dbd107f1287ada4fc65daca6d4b979fae3215420c3fd40821207e6d85 - 11.31% (272 MB)

[#007] sha256:5b72edc917c1473d113693772d4c1bfe03461204708439d0c1bea438e45c36a5 - 0.0% (1.38 KB)

[#008] sha256:88f946c7dddd3c55a39a38784abbecaa5637ea29238efb4b9e1da70b2a91422b - 0.0% (1.38 KB)

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


History
2022-04-22 01:12:09 UTC

Apply image 10.0.20348.643

2022-05-05 03:02:27 UTC

Install update 10.0.20348.707

2022-05-11 12:34:26 UTC

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

2022-05-11 16:59:20 UTC

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

2022-05-11 16:59:21 UTC

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

2022-05-11 16:59:22 UTC

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

2022-05-11 17:00:53 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.';

2022-05-11 17:00:55 UTC

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

2022-05-11 17:00:56 UTC

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

2022-05-11 17:00:57 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