Merge pull request #333 from mrunalp/optional_seccomp

Seccomp should be optional
This commit is contained in:
Vincent Batts 2016-03-08 12:48:49 -05:00
commit 5a606f4604
1 changed files with 1 additions and 1 deletions

View File

@ -34,7 +34,7 @@ type Linux struct {
// Devices are a list of device nodes that are created for the container // Devices are a list of device nodes that are created for the container
Devices []Device `json:"devices"` Devices []Device `json:"devices"`
// Seccomp specifies the seccomp security settings for the container. // Seccomp specifies the seccomp security settings for the container.
Seccomp Seccomp `json:"seccomp"` Seccomp *Seccomp `json:"seccomp,omitempty"`
// RootfsPropagation is the rootfs mount propagation mode for the container. // RootfsPropagation is the rootfs mount propagation mode for the container.
RootfsPropagation string `json:"rootfsPropagation,omitempty"` RootfsPropagation string `json:"rootfsPropagation,omitempty"`
} }