1
0
mirror of https://github.com/rancher/os.git synced 2025-04-28 11:24:26 +00:00
os/pkg/docker/util.go

12 lines
255 B
Go

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