Namespace
library
Image / Tag
mongo:4.2.21-windowsservercore-ltsc2022
Content Digest
sha256:48fc22269a75fb1c34eba8ebbe8a3501ccdb07623335787bc01d7f92954f137b
Details
Created

2022-08-10 18:39:25 UTC

Size

2.42 GB

Content Digest
Environment
MONGO_DOWNLOAD_SHA256

2d520d39336e1918c6062d9d48626be78336447c23aeff38d1db66a4a89c9963

MONGO_DOWNLOAD_URL

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

MONGO_VERSION

4.2.21


Layers

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

[#001] sha256:97b25a378238b615dc51216c4d87ce17fd3cc3dca9db458e8705d1a4c17e3bb7 - 33.82% (839 MB)

[#002] sha256:ff9b89cbdb5f88cb926263140643eb2bfad61fb092119830e290c8f8ff711c8f - 0.0% (1.32 KB)

[#003] sha256:15562c974baff84cf0b1397d811eaae0c93a0d24055070001ccb0fcbdc85cb50 - 0.0% (1.38 KB)

[#004] sha256:86ab5c6431cc44cb7e89563fc0637be4dda03597a224be52d86f10014d6d6c56 - 0.0% (1.39 KB)

[#005] sha256:a97828b90025bd2a11dec8bf923ce36191a7059da4ab315f7f511c921c001265 - 0.0% (1.4 KB)

[#006] sha256:3da7ec6c087d358b608891724dbe6a326c56939de4a4e8f855a3ef6944ec8875 - 10.97% (272 MB)

[#007] sha256:7937e19c86514df526e2b91fff6d6532251074aec8cb4733bc995f2c76c30f16 - 0.0% (1.36 KB)

[#008] sha256:44464114fea99daf3caa7c5f84e2a9f5bad619f5d4b65e9402b2f7884c0be684 - 0.0% (1.39 KB)

[#009] sha256:8514a08953ec88e4fbc5d64f157cf008d277973396fcc172b8fd709699f784c8 - 0.0% (1.4 KB)


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

Apply image 10.0.20348.643

2022-08-06 02:59:35 UTC

Install update 10.0.20348.887

2022-08-10 13:33:21 UTC

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

2022-08-10 18:37:49 UTC

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

2022-08-10 18:37:50 UTC

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

2022-08-10 18:37:51 UTC

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

2022-08-10 18:39: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', '/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-08-10 18:39:23 UTC

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

2022-08-10 18:39:24 UTC

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

2022-08-10 18:39:25 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