Error creating vxlan interface: file exists

Hello,

I upgraded a standalone docker swarm node, from 28.3.0 to 28.5.2 and some swarm service wasn’t able to restart with the following error :

The error “network sandbox join failed: subnet sandbox join failed for “10.0.1.0/24”: error creating vxlan interface: file exists”

To solve the issue I needed to identify the oprhaned VXLAN interface on the system and to delete it.

ip link delete vx-001002-6c3xe

and restart docker.

There is a bug report here : Error creating vxlan interface: file exists · Issue #1765 · moby/libnetwork · GitHub

But the repo last commit is 3 years old,so feels like not supported anymore. Do you have any information about the proper git repository for this issue ?

Thanks

I believe you can try https://github.com/moby/moby/issues

Libnetwork is now in https://github.com/moby/moby/tree/master/daemon/libnetwork

But moby also uses the swarmkit module https://github.com/moby/swarmkit for swarm just in case you think it is relavant.