1
0
mirror of https://github.com/rancher/os.git synced 2025-05-16 20:09:28 +00:00
os/docker/util.go
2016-11-28 00:06:00 -08:00

11 lines
254 B
Go

package docker
import (
composeConfig "github.com/docker/libcompose/config"
"github.com/rancher/os/config"
)
func IsSystemContainer(serviceConfig *composeConfig.ServiceConfig) bool {
return serviceConfig.Labels[config.ScopeLabel] == config.System
}