Open
Description
Is your feature request related to a problem? Please describe.
When extensions launch containers using the extensions SDK, additional labels are added to associate the new container with the extension. When a user has the setting Show Docker Extensions system containers disabled (which is set by default), the list of running containers then hides these containers. Therefore, it's impossible for an extension to be able to keep track of what containers is has launched.
Describe the solution you'd like
There are a few possible ideas:
- Provide the ability for
listContainers
to include the containers belonging to the requesting extension, even if the setting is currently set to hide them. - Add a new method to list extension-launched containers (to not pollute the
listContainers
results). - Provide an option on whether the additional labels are added to extension-launched containers. This could be helpful in the case an extension wants to launch containers that should be viewable in the dashboard/CLI.