forked from Ivasoft/drone-docker
load the patched seccomp profile only on arm
This commit is contained in:
@@ -341,7 +341,10 @@ func commandDaemon(daemon Daemon) *exec.Cmd {
|
||||
args := []string{
|
||||
"--data-root", daemon.StoragePath,
|
||||
"--host=unix:///var/run/docker.sock",
|
||||
"--seccomp-profile=/etc/docker/default.json",
|
||||
}
|
||||
|
||||
if _, err := os.Stat("/etc/docker/default.json"); err == nil {
|
||||
args = append(args, "--seccomp-profile=/etc/docker/default.json")
|
||||
}
|
||||
|
||||
if daemon.StorageDriver != "" {
|
||||
|
||||
Reference in New Issue
Block a user