Docker: failed to add the pair interfaces (operation not supported)

Solution 1:

You've booted your system with OVH's custom kernel, which is built to OVH's specifications, and may not be suitable for running software you want to run.

Change your dedicated server configuration to boot from the kernel installed on the hard drive provided by your Linux distribution.

OVH boot configuration screen

Solution 2:

In my case, the error appears every time I update my Linux kernel. It disappears when I restart the computer.

I am using Arch Linux

Solution 3:

I had this same problem (pair interfaces: operation not supported) and I use a custom kernel. For me the cause was a missing module "Virtual ethernet pair device" CONFIG_VETH.

│ CONFIG_VETH:
│ │ This device is a local ethernet tunnel. Devices are created in pairs. When one end receives the packet it appears on its pair and vice versa. │ Symbol: VETH [=m]
│ │ Type : tristate
│ │ Prompt: Virtual ethernet pair device
│ │ Location:
│ │ -> Device Drivers
│ │ -> Network device support (NETDEVICES [=y])
│ │ -> Network core driver support (NET_CORE [=y])

hope it helps