diff --git a/virtcontainers/sandbox.go b/virtcontainers/sandbox.go index 18ed78c10b..f02ebbbdce 100644 --- a/virtcontainers/sandbox.go +++ b/virtcontainers/sandbox.go @@ -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, }