moby / moby/libnetwork

Passing arbitrary parameters/labels to a remote driver

Open
#910 9 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Go
Stars
2.2k
Forks
875
PR merge metrics
No merged PRs in 30d

Description

I'm not sure if it's supported or not. Could not find any documentation.

It would be helpful if libnetwork could pass arbitrary labels from users (e.g. 'docker run' cli or api ) to the current remote driver (based on selected network mode).

I tried to specify my own labels (with some of the prefixes defined in libnetwork), but couldn't see any of them passed through.

If this feature already exists, please point me to the documentation/example and feel free to close the ticket.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing how libnetwork receives labels from the Docker CLI or API and selects a remote driver based on network mode. Check whether arbitrary user labels reach the driver, using the existing label prefixes mentioned in the issue as context. Done means supported labels are forwarded consistently, or the behavior is documented with an example if it already exists.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
networking
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.