JDK-8276971 : Investigate docker daemon plugin for serviceability support
  • Type: Enhancement
  • Component: core-svc
  • Sub-Component: tools
  • Priority: P4
  • Status: Open
  • Resolution: Unresolved
  • Submitted: 2021-11-10
  • Updated: 2023-11-15
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other
tbdUnresolved
Related Reports
Relates :  
Description
Many of the serviceability tools must be run as root to interact with containerized Java apps (see JDK-8255008).

In Docker's design, regular users interact with the containers through the Docker Daemon. There's a plugin API to add extra functionalities into the Docker Daemon:

https://docs.docker.com/engine/extend/
https://docs.docker.com/engine/extend/plugin_api/

We should investigate if it's possible to use a plugin to allow regular users to use serviceability tools such as jcmd to interact with containerized Java apps.