mirror of
https://github.com/rancher/os.git
synced 2025-05-07 15:46:19 +00:00
11 lines
254 B
Go
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
|
|
}
|