Skip to content

Running with "no-op" network plugin tries to run Linux command on Windows #531

Description

@arcusmaximus

If you run cri-dockerd on Windows with --network-plugin no-op, it will print the following:

level=error msg="can't set sysctl bridge-nf-call-iptables: open /proc/sys/net/bridge/bridge-nf-call-iptables: The system cannot find the path specified."

Looking at the source code, I see it also tries to run a modprobe br-netfilter regardless of the host OS.

The error isn't fatal, but even so, these commands probably shouldn't be executed on Windows in the first place.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions