Add support for --cap-add and --cap-drop

Linked to #6687 
to modify the network interfaces