nginx-proxy / nginx-proxy/docker-gen

Add image label info

Open
#330 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Go
Stars
4.6k
Forks
609
Avg merge
2d 18h
Merged PRs (30d)
4

Description

I'd like to default some container / service labels using image labels - so that (for example) https://github.com/wemake-services/caddy-gen/ could have an image label virtual.port set in a Dockerfile label - so users don't need to set it on every container.

Similarly, exposing the port setting could be interesting - though more complicated to deal with when there are multiple ports set.

is this a bad idea? should I try to make a PR?

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

No files, tests, or entry points are named. Start by locating how docker-gen reads container metadata and existing labels, then define how image-label defaults should interact with container labels and multiple exposed ports; done means the behavior and precedence are specified and covered by tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, go
Domain
devops
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.