diff options
author | Daniel Zhang <jmzwcn@gmail.com> | 2017-01-09 09:22:05 +0800 |
---|---|---|
committer | Daniel Zhang <jmzwcn@gmail.com> | 2017-02-16 19:05:14 +0800 |
commit | d7fda019bb7e24f42f8ae1ddecb3fd52df3c48bf (patch) | |
tree | ca51ce8eb00534fdd5634d14303f703913c3160e /daemon/daemon_windows.go | |
parent | d26cf30a6094c22fd9d5a032faf96103f6f841dc (diff) | |
download | docker-d7fda019bb7e24f42f8ae1ddecb3fd52df3c48bf.tar.gz |
Add daemon flag to set no_new_priv as default for unprivileged containers.
Signed-off-by: Daniel Zhang <jmzwcn@gmail.com>
Diffstat (limited to 'daemon/daemon_windows.go')
-rw-r--r-- | daemon/daemon_windows.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/daemon/daemon_windows.go b/daemon/daemon_windows.go index 93154af1b2..6507e283c2 100644 --- a/daemon/daemon_windows.go +++ b/daemon/daemon_windows.go @@ -48,6 +48,10 @@ func getBlkioWeightDevices(config *containertypes.HostConfig) ([]blkiodev.Weight return nil, nil } +func (daemon *Daemon) parseSecurityOpt(container *container.Container, hostConfig *containertypes.HostConfig) error { + return parseSecurityOpt(container, hostConfig) +} + func parseSecurityOpt(container *container.Container, config *containertypes.HostConfig) error { return nil } |