I am trying to run 'ip link add ...' from Dockerfiles's RUN command and getting 'RTNETLINK answers: Operation not permitted' error.
When running a container I can use --cap-add=NET_ADMIN for that, but what about the build command - how do I do this?