Skip to content

Instantly share code, notes, and snippets.

@lanrat
Created July 12, 2016 01:19
Show Gist options
  • Save lanrat/458066dbdeb460b9cef40dc2af639a24 to your computer and use it in GitHub Desktop.
Save lanrat/458066dbdeb460b9cef40dc2af639a24 to your computer and use it in GitHub Desktop.
NetworkManager ignore docker, virtualbox, and vmware adapters
[main]
plugins=ifupdown,keyfile
[ifupdown]
managed=false
[keyfile]
unmanaged-devices=interface-name:docker0;interface-name:vmnet1;interface-name:vmnet8;interface-name:vboxnet0
@cuchac
Copy link

cuchac commented Jul 20, 2021

I used this line to ignore bridge interfaces as well and use wildcards:
unmanaged-devices=interface-name:docker*;interface-name:br-*;interface-name:vmnet*;interface-name:vboxnet*

@thinkawitch
Copy link

thinkawitch commented Aug 9, 2021

This tweak helped me with docker containers gets unavailable inside of vmware linux mint 20 (ubuntu 20.04) after pause/resume.
unmanaged-devices=interface-name:docker*;interface-name:veth*;interface-name:br-*;interface-name:vmnet*;interface-name:vboxnet*

@alexandervlpl
Copy link

Still works perfectly with wildcards, KDE Plasma. 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment