1
0
mirror of https://github.com/rancher/os.git synced 2025-05-07 15:46:19 +00:00
os/pkg/docker/util.go
2018-09-19 17:18:49 +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
}