Add default labels to networks and volumes created by Compose
Signed-off-by: Joffrey F <joffrey@docker.com>
This commit is contained in:
parent
e6b2949edc
commit
ba47fb99ba
7 changed files with 68 additions and 10 deletions
|
|
@ -11,7 +11,9 @@ LABEL_CONTAINER_NUMBER = 'com.docker.compose.container-number'
|
|||
LABEL_ONE_OFF = 'com.docker.compose.oneoff'
|
||||
LABEL_PROJECT = 'com.docker.compose.project'
|
||||
LABEL_SERVICE = 'com.docker.compose.service'
|
||||
LABEL_NETWORK = 'com.docker.compose.network'
|
||||
LABEL_VERSION = 'com.docker.compose.version'
|
||||
LABEL_VOLUME = 'com.docker.compose.volume'
|
||||
LABEL_CONFIG_HASH = 'com.docker.compose.config-hash'
|
||||
|
||||
COMPOSEFILE_V1 = '1'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue