diff options
Diffstat (limited to 'libpod/network/netavark/network.go')
-rw-r--r-- | libpod/network/netavark/network.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libpod/network/netavark/network.go b/libpod/network/netavark/network.go index cd6db4f58..cc6fb423c 100644 --- a/libpod/network/netavark/network.go +++ b/libpod/network/netavark/network.go @@ -110,6 +110,10 @@ func NewNetworkInterface(conf InitConfig) (types.ContainerNetwork, error) { ipamdbPath = filepath.Join(ipamdbPath, "ipam.db") } + if err := os.MkdirAll(conf.NetworkConfigDir, 0755); err != nil { + return nil, err + } + n := &netavarkNetwork{ networkConfigDir: conf.NetworkConfigDir, netavarkBinary: conf.NetavarkBinary, |