mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
ce5bc0079b
The docker daemon needs to be modified as follows: diff --git a/daemon/oci_linux.go b/daemon/oci_linux.go index 00ace320df..ea7daa72df 100644 --- a/daemon/oci_linux.go +++ b/daemon/oci_linux.go @@ -809,7 +809,7 @@ func (daemon *Daemon) createSpec(c *container.Container) (retSpec *specs.Spec, e s.Hooks = &specs.Hooks{ Prestart: []specs.Hook{{ Path: target, - Args: []string{"libnetwork-setkey", c.ID, daemon.netController.ID()}, + Args: []string{"libnetwork-setkey", c.ID, daemon.netController.ID(), "-exec-root="+daemon.configStore.GetExecRoot()}, }}, } } Signed-off-by: Akihiro Suda <suda.akihiro@lab.ntt.co.jp> |
||
---|---|---|
.. | ||
config.go | ||
config_test.go | ||
libnetwork.toml |