Replies: 4 comments 3 replies
-
emmmm, If I remember correctly, we don't have the way to explicitly spec an existed CNI network config as the default network. Maybe we can make this a feature? cc @junnplus |
Beta Was this translation helpful? Give feedback.
-
We can append this list https://github.com/containerd/nerdctl/blob/master/docs/config.md#properties by either adding a new field in |
Beta Was this translation helpful? Give feedback.
-
Implemented in |
Beta Was this translation helpful? Give feedback.
-
I would like to configure nerdctl to use an existing network (e.g. created by k0s/kube-router) without using the - -net cmd line parameter (but if it is specified, it would use it instead of the default network set in the config or environment variable (if that exists at all)). |
Beta Was this translation helpful? Give feedback.
-
Is there a way to configure the default network used by
nerdctl
? I'm trying to usenerdctl
withk0s
configuredcontainerd
, where the default network is calledmynet
and always having to usenerdctl --network=mynet
is a nuisance.By reading the docs at https://github.com/containerd/nerdctl/blob/master/docs/config.md I did not find a way.
Beta Was this translation helpful? Give feedback.
All reactions