1
0
mirror of https://github.com/rancher/os.git synced 2025-08-31 22:32:14 +00:00
Files
os/docker/util.go

12 lines
250 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 {
return serviceConfig.Labels[config.SCOPE] == config.SYSTEM
2015-08-04 14:45:38 -07:00
}