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.
I would like to propose having labels for non-container resources. To start with, these would include:
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-datadocker network create -d overlay --label env=staging --label app=test-app-v0 backendFor 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.