I met this issue when deploying my application on Docker Swarm.
I run docker stack deploy -c /path
and get error network sandbox join failed: subnet sandbox join failed for "10.0.0.0/24": error creating vxlan interface: file exists
I searched too many pages in Google but not found any solution.
You can try to the following steps.
/sys/class/net
$ ls -l /sys/class/net/ | grep vx
$ udevadm info /sys/class/net/
vx-000000-xxxxx
with the interface id from Step 2$ sudo ip -d link show vx-000000-xxxxx
$ sudo ip link delete vx-000000-xxxxx
etc...
If you are on a raspberry pi with Ubuntu 21.10 you may just be missing the necessary libraries. You can install them with:
sudo apt install linux-modules-extra-raspi
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With