Merge pull request #1665 from mcastelino/topic/bug_fix_1664

Networking: Ensure that network namespace is propagated
This commit is contained in:
James O. D. Hunt 2019-05-15 09:25:44 +01:00 committed by GitHub
commit 86d51f59d4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -543,6 +543,7 @@ func newSandbox(ctx context.Context, sandboxConfig SandboxConfig, factory Factor
shmSize: sandboxConfig.ShmSize,
sharePidNs: sandboxConfig.SharePidNs,
stateful: sandboxConfig.Stateful,
networkNS: NetworkNamespace{NetNsPath: sandboxConfig.NetworkConfig.NetNSPath},
ctx: ctx,
}