1
0
mirror of https://github.com/rancher/os.git synced 2025-09-02 07:15:41 +00:00

Support legacy Docker Compose labels

This commit is contained in:
Josh Curl
2016-06-13 17:53:36 -07:00
parent 10a179cbbd
commit 313cdb7e24
6 changed files with 38 additions and 6 deletions

View File

@@ -18,6 +18,10 @@ const (
SERVICE = Label("com.docker.compose.service")
HASH = Label("com.docker.compose.config-hash")
VERSION = Label("com.docker.compose.version")
PROJECT_LEGACY = Label("io.docker.compose.project")
SERVICE_LEGACY = Label("io.docker.compose.service")
HASH_LEGACY = Label("io.docker.compose.config-hash")
)
// EqString returns a label json string representation with the specified value.