Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

failed to create the ipvlan port: device or resource busy #9

Open
darkdidi opened this issue Jul 28, 2022 · 2 comments
Open

failed to create the ipvlan port: device or resource busy #9

darkdidi opened this issue Jul 28, 2022 · 2 comments

Comments

@darkdidi
Copy link

darkdidi commented Jul 28, 2022

Hello, when i try to compose the docker i got this message
failed to create the ipvlan port: device or resource busy

I am using Unraid latest
I have edited the 'docker-compose.yml' and the 'Dockerfile' to match my network, no changes

'root@Unraid:/mnt/user0/appdata/dhcp-netboot.xyz# docker build .
Sending build context to Docker daemon  51.18MB
Step 1/4 : FROM linuxserver/netbootxyz:latest
 ---> 21c00b1cd4fe
Step 2/4 : RUN apk add --update dnsmasq
 ---> Using cache
 ---> 323b34b10990
Step 3/4 : COPY etc /etc/
 ---> 9bfbf4689db4
Step 4/4 : ENV DHCP_RANGE_START=192.168.1.1
 ---> Running in b2e8d4724c25
Removing intermediate container b2e8d4724c25
 ---> 6e68e4905ce2
Successfully built 6e68e4905ce2
root@Unraid:/mnt/user0/appdata/dhcp-netboot.xyz# docker-compose up
Attaching to netbootxyz
Error response from daemon: failed to create the ipvlan port: device or resource busy'

I was wondering if there is no problem with PUID or PGID (not declared)

Thanks in advance

@samdbmg
Copy link
Owner

samdbmg commented Aug 3, 2022

I think that particular error means the network interface specified at https://github.com/samdbmg/dhcp-netboot.xyz/blob/main/docker-compose.yml#L21 doesn't exist - is it definitely the right one? The README documents a way to get that using ip route | awk '/default/ { print $5 }' but it might be worth trying that and seeing if it does what you expect: I don't have anything running Unraid to test with and that command might fail for more complex networking setups. You could try just setting export INTERFACE="whatever-your-interface-is-called" instead?

@Roalkege
Copy link

Hey, did you get it to work?
Maybe with this docker-compose? #13 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants