Skip to content
This repository was archived by the owner on Jun 14, 2024. It is now read-only.
This repository was archived by the owner on Jun 14, 2024. It is now read-only.

Cannot access dhcp socket #2

@Jip-Hop

Description

@Jip-Hop

When trying to create a macvlan network with dhcp enabled, I run into the error below:

WARN[0000] cannot access dhcp socket "/run/cni/dhcp.sock" (hint: try running with `dhcp daemon --socketpath=/run/cni/dhcp.sock &` in CNI_PATH to launch the dhcp daemon) 

After manually running ./dhcp daemon --socketpath=/run/cni/dhcp.sock & from /nerdctl_full/libexec/cni creating the network succeeds without warning.

Need to automate this and put the socket under a less common path (a path specific to ubernerd).

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedExtra attention is needed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions