1
0
mirror of https://github.com/rancher/os.git synced 2025-09-01 06:40:31 +00:00
Files
os/docker/util.go

11 lines
254 B
Go
Raw Normal View History

2015-08-04 14:45:38 -07:00
package docker
import (
2016-05-23 17:21:28 -07:00
composeConfig "github.com/docker/libcompose/config"
"github.com/rancher/os/config"
2015-08-04 14:45:38 -07:00
)
2016-05-23 17:21:28 -07:00
func IsSystemContainer(serviceConfig *composeConfig.ServiceConfig) bool {
2016-11-28 00:06:00 -08:00
return serviceConfig.Labels[config.ScopeLabel] == config.System
2015-08-04 14:45:38 -07:00
}