Skip to content

Proposal: Labels for non-container resources #20356

@ehazlett

Description

@ehazlett

I would like to propose having labels for non-container resources. To start with, these would include:

  • Networks
  • Volumes
  • Images (post build)?

For networks and volumes the same syntax as containers could be used. For example:

docker volume create -d local --label env=staging --label backup=1 redis-data

docker network create -d overlay --label env=staging --label app=test-app-v0 backend

For images, it would be best to have something like #18958 to add labels. However, update support / image labels might be out of scope for this proposal.

Metadata

Metadata

Assignees

Labels

kind/featureFunctionality or other elements that the project doesn't currently have. Features are new and shinyroadmap

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions