Namespace
library
Image / Tag
mongo:4.2.18-windowsservercore-1809
Content Digest
sha256:cb09349bc0400d7a075a0baf520a360bad59069eeba517d2a73dfba92c0044eb
Details
Created

2022-02-09 17:17:38 UTC

Size

2.79 GB

Content Digest
Environment
MONGO_DOWNLOAD_SHA256

b10879892c9729e55bd347f6084d2783e295d3bd041167e62a5d1da6538dd6ef

MONGO_DOWNLOAD_URL

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

MONGO_VERSION

4.2.18


Layers

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

[#001] sha256:1bd78008c728d8f9e56dc2093e6eb55f0f0b1aa96e5d0c7ccc830c5f60876cdf - 33.2% (949 MB)

[#002] sha256:f49d3791198cf2ea875fd54ce3bb715670742d4a58c00252395ad1b74036662a - 0.0% (1.4 KB)

[#003] sha256:d9d8d3ad7edffd5d09364c027744e3ebb6a2338584e9d3057d86502e7d8f9825 - 0.0% (1.37 KB)

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

[#005] sha256:b18dbdf27b0fbfb734df9e996bad48d5a351cadd223ee1ba73f2e856afe69e90 - 0.0% (1.41 KB)

[#006] sha256:703516012393f1820660ae38f6a15ddaaa13feefc27e66eeb266aecf390d0f95 - 9.49% (271 MB)

[#007] sha256:5178b42bed3d8eac9f6934131d543a2a971df69d7a752aaed538647f24e0e656 - 0.0% (1.37 KB)

[#008] sha256:ba5b5985c854095a58aa9deb15ffdff614373abc1bdabd5b62696e6fcec8c67d - 0.0% (1.35 KB)

[#009] sha256:33673d019d558922de15927facd6ecdd295b19bbc8d4e81017436f666fa74981 - 0.0% (1.36 KB)


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

Apply image 1809-RTM-amd64

2022-02-02 19:28:56 UTC

Install update 1809-amd64

2022-02-09 15:04:17 UTC

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

2022-02-09 17:14:13 UTC

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

2022-02-09 17:14:14 UTC

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

2022-02-09 17:14:15 UTC

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

2022-02-09 17:17:34 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-02-09 17:17:35 UTC

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

2022-02-09 17:17:37 UTC

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

2022-02-09 17:17:38 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