René's URL Explorer Experiment


Title: ListImagesCmd#withImageNameFilter is not working anymore with Docker API 1.41+ · Issue #2557 · docker-java/docker-java · GitHub

Open Graph Title: ListImagesCmd#withImageNameFilter is not working anymore with Docker API 1.41+ · Issue #2557 · docker-java/docker-java

X Title: ListImagesCmd#withImageNameFilter is not working anymore with Docker API 1.41+ · Issue #2557 · docker-java/docker-java

Description: Hello, we noticed recently a regression after upgrading the version of Docker in one of our machine related to a test using ListImagesCmd#withImageNameFilter to find if a docker image was locally present before creating it. So, for examp...

Open Graph Description: Hello, we noticed recently a regression after upgrading the version of Docker in one of our machine related to a test using ListImagesCmd#withImageNameFilter to find if a docker image was locally p...

X Description: Hello, we noticed recently a regression after upgrading the version of Docker in one of our machine related to a test using ListImagesCmd#withImageNameFilter to find if a docker image was locally p...

Opengraph URL: https://github.com/docker-java/docker-java/issues/2557

X: @github

direct link

Domain: patch-diff.githubusercontent.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"ListImagesCmd#withImageNameFilter is not working anymore with Docker API 1.41+","articleBody":"Hello, \n\nwe noticed recently a regression after upgrading the version of Docker in one of our machine related to a test using `ListImagesCmd#withImageNameFilter` to find if a docker image was locally present before creating it. \n\nSo, for example, I have locally an image named `xwiki-tomcat-jre25-office:b372e3023b3b21630385b22e1b19c70eaef70364988917e6d27613341c951536`, which also has a specific label `\"image-version\": \"LO-25.2.7\"`. If I use the CLI to search for an image with a name containing a different hash such as: \n\n\u003e docker images xwiki-tomcat-jre25-office:71af718ae80d90b93c3b3c36eb9b0cf9e102e845b260d1f1e33a07fbda511322 --filter \"label=image-version=LO-25.2.7\"\n\nThen the command line properly returns no result. \n\nHowever, when I use the following snippet using docker-java: \n```\nDockerClient dockerClient = DockerClientImpl.getInstance(config, httpClient);\n        List\u003cImage\u003e imageList = dockerClient.listImagesCmd()\n            .withImageNameFilter(\n                \"xwiki-tomcat-jre25-office:71af718ae80d90b93c3b3c36eb9b0cf9e102e845b260d1f1e33a07fbda511322\")\n            .withLabelFilter(Map.of(\"image-version\", \"LO-25.2.7\"))\n            .exec();\n```\nI now obtain in the list one occurence, the image \n`xwiki-tomcat-jre25-office:b372e3023b3b21630385b22e1b19c70eaef70364988917e6d27613341c951536`, while I'm expecting the list to be empty. And before the upgrade of the Docker packages on the machine, the list was empty. \n\nAfter investigation this is apparently because docker-java performs the following request:\n\u003e 11:27:14.576 [main] TRACE o.t.s.c.g.d.c.exec.ListImagesCmdExec - GET: DefaultWebTarget{path=[/images/json], queryParams={filter=[xwiki-tomcat-jre25-office:71af718ae80d90b93c3b3c36eb9b0cf9e102e845b260d1f1e33a07fbda511322], filters=[{\"label\":[\"image-version=LO-25.2.7\"]}]}}\n\nYou can note the presence of `queryParams={filter=[xwiki-tomcat-jre25-office:71af718ae80d90b93c3b3c36eb9b0cf9e102e845b260d1f1e33a07fbda511322]`. And apparently this `filter` query param has been removed from Docker API since version 1.41, see [in release notes](https://docs.docker.com/reference/api/engine/version-history/#v141-api-changes): \n\u003e The filter (singular) query parameter, which was deprecated in favor of the filters option in Docker 1.13, has now been removed from the GET /images/json endpoint. The parameter remains available when using API version 1.40 or below.\n\nSo IMO the `ListImagesCmd#withImageNameFilter` API is now broken with recent versions of Docker API. Either it should be fixed, or at the very least it should be deprecated / some javadoc should be added to inform that it might not work as expected. ","author":{"url":"https://github.com/surli","@type":"Person","name":"surli"},"datePublished":"2025-12-12T13:16:55.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":3},"url":"https://github.com/2557/docker-java/issues/2557"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:c126baa7-7263-ee8e-016d-b54d5a8ebadb
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id99FC:2D454F:28C15FC:3640890:6971C88D
html-safe-nonce5a74ab98cee7aa324f2e53c43d23e0517305618e6e190af4d5c1f29b0b321c70
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5OUZDOjJENDU0RjoyOEMxNUZDOjM2NDA4OTA6Njk3MUM4OEQiLCJ2aXNpdG9yX2lkIjoiMjA2OTc4MTI1MzIyODQ0Nzg4NSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacad6a3d92550e1a34bb62e349cd0eeeafa5614ac070911baecde4c5b37c24b16f
hovercard-subject-tagissue:3723395739
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/docker-java/docker-java/2557/issue_layout
twitter:imagehttps://opengraph.githubassets.com/68e0ad6f98d59d1e646738b27124e8da97c9a124e2f62090c908f2d1a99cadd5/docker-java/docker-java/issues/2557
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/68e0ad6f98d59d1e646738b27124e8da97c9a124e2f62090c908f2d1a99cadd5/docker-java/docker-java/issues/2557
og:image:altHello, we noticed recently a regression after upgrading the version of Docker in one of our machine related to a test using ListImagesCmd#withImageNameFilter to find if a docker image was locally p...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamesurli
hostnamegithub.com
expected-hostnamegithub.com
Noneac615aa66802dad9a938c6abe95edf09ee43c0c7f508315b64b08612858ef32e
turbo-cache-controlno-preview
go-importgithub.com/docker-java/docker-java git https://github.com/docker-java/docker-java.git
octolytics-dimension-user_id7772003
octolytics-dimension-user_logindocker-java
octolytics-dimension-repository_id20415251
octolytics-dimension-repository_nwodocker-java/docker-java
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id20415251
octolytics-dimension-repository_network_root_nwodocker-java/docker-java
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release6b618569a5f93e0b31f97f620112341421ef5f69
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://patch-diff.githubusercontent.com/docker-java/docker-java/issues/2557#start-of-content
https://patch-diff.githubusercontent.com/
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fdocker-java%2Fdocker-java%2Fissues%2F2557
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fdocker-java%2Fdocker-java%2Fissues%2F2557
Sign up https://patch-diff.githubusercontent.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=docker-java%2Fdocker-java
Reloadhttps://patch-diff.githubusercontent.com/docker-java/docker-java/issues/2557
Reloadhttps://patch-diff.githubusercontent.com/docker-java/docker-java/issues/2557
Reloadhttps://patch-diff.githubusercontent.com/docker-java/docker-java/issues/2557
docker-java https://patch-diff.githubusercontent.com/docker-java
docker-javahttps://patch-diff.githubusercontent.com/docker-java/docker-java
Notifications https://patch-diff.githubusercontent.com/login?return_to=%2Fdocker-java%2Fdocker-java
Fork 1.1k https://patch-diff.githubusercontent.com/login?return_to=%2Fdocker-java%2Fdocker-java
Star 3.2k https://patch-diff.githubusercontent.com/login?return_to=%2Fdocker-java%2Fdocker-java
Code https://patch-diff.githubusercontent.com/docker-java/docker-java
Issues 37 https://patch-diff.githubusercontent.com/docker-java/docker-java/issues
Pull requests 49 https://patch-diff.githubusercontent.com/docker-java/docker-java/pulls
Discussions https://patch-diff.githubusercontent.com/docker-java/docker-java/discussions
Actions https://patch-diff.githubusercontent.com/docker-java/docker-java/actions
Projects 0 https://patch-diff.githubusercontent.com/docker-java/docker-java/projects
Security Uh oh! There was an error while loading. Please reload this page. https://patch-diff.githubusercontent.com/docker-java/docker-java/security
Please reload this pagehttps://patch-diff.githubusercontent.com/docker-java/docker-java/issues/2557
Insights https://patch-diff.githubusercontent.com/docker-java/docker-java/pulse
Code https://patch-diff.githubusercontent.com/docker-java/docker-java
Issues https://patch-diff.githubusercontent.com/docker-java/docker-java/issues
Pull requests https://patch-diff.githubusercontent.com/docker-java/docker-java/pulls
Discussions https://patch-diff.githubusercontent.com/docker-java/docker-java/discussions
Actions https://patch-diff.githubusercontent.com/docker-java/docker-java/actions
Projects https://patch-diff.githubusercontent.com/docker-java/docker-java/projects
Security https://patch-diff.githubusercontent.com/docker-java/docker-java/security
Insights https://patch-diff.githubusercontent.com/docker-java/docker-java/pulse
New issuehttps://patch-diff.githubusercontent.com/login?return_to=https://github.com/docker-java/docker-java/issues/2557
New issuehttps://patch-diff.githubusercontent.com/login?return_to=https://github.com/docker-java/docker-java/issues/2557
ListImagesCmd#withImageNameFilter is not working anymore with Docker API 1.41+https://patch-diff.githubusercontent.com/docker-java/docker-java/issues/2557#top
https://github.com/surli
https://github.com/surli
surlihttps://github.com/surli
on Dec 12, 2025https://github.com/docker-java/docker-java/issues/2557#issue-3723395739
in release noteshttps://docs.docker.com/reference/api/engine/version-history/#v141-api-changes
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.