Namespace
library
Image / Tag
mongo:4.2.17-windowsservercore-1809
Content Digest
sha256:c2e293b94faa3c869502423bed7f972ee191a5362c67fa31bb28dc2e0b3399ed
Details
Created

2021-12-18 08:50:41 UTC

Size

2.79 GB

Content Digest
Environment
MONGO_DOWNLOAD_SHA256

31769763eb709d2dee9f4f889846400a665c310742ff7e04d04b4dd8da33069b

MONGO_DOWNLOAD_URL

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

MONGO_VERSION

4.2.17


Layers

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

[#001] sha256:5ee7a7ea9cf22f75886179907a41810a992e21f3d0c57cc10d2147ce9237701c - 33.09% (944 MB)

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

[#003] sha256:f05b6232bdbdd284a50ee3125ed6116299a09ef036b8611561e13de65ff3b3b0 - 0.0% (1.39 KB)

[#004] sha256:a2a03a19ae6103645136239e0cfe4c76eb040ac0111a949e713b6ed787c6f41c - 0.0% (1.38 KB)

[#005] sha256:fd5bc836860a782d17a4486a84b8f0f68e532c260f0554f502284a0f00ce8f42 - 0.0% (1.39 KB)

[#006] sha256:3cdf4e02dc8a226e41b3dd4fde40003b312c6adeb2f12c9dbf93cef05b5ce517 - 9.48% (271 MB)

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

[#008] sha256:aeddd5341f8c38bf13dd0d92511d8480a0e15d2859eacf9839b8cae880914fb2 - 0.0% (1.41 KB)

[#009] sha256:c45bf8881683ded7a9ff9b0f648a8465e8a4130959d1161d9eb60e3e29846ab1 - 0.0% (1.37 KB)


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

Apply image 1809-RTM-amd64

2021-12-07 04:56:01 UTC

Install update 1809-amd64

2021-12-18 01:40:43 UTC

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

2021-12-18 08:48:09 UTC

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

2021-12-18 08:48:10 UTC

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

2021-12-18 08:48:11 UTC

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

2021-12-18 08:50:38 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-12-18 08:50:39 UTC

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

2021-12-18 08:50:40 UTC

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

2021-12-18 08:50:41 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