util.go 254 B

1234567891011
  1. package docker
  2. import (
  3. composeConfig "github.com/docker/libcompose/config"
  4. "github.com/rancher/os/config"
  5. )
  6. func IsSystemContainer(serviceConfig *composeConfig.ServiceConfig) bool {
  7. return serviceConfig.Labels[config.ScopeLabel] == config.System
  8. }