Why am I getting an RTNETLINK Operation Not Permitted when using Pipework with Docker containers?

后端 未结 2 430
北恋
北恋 2021-02-01 03:25

I\'m running CoreOS stable 494.5.0 using Vagrant/VirtualBox and am running the vanilla ruby:2.1.5 Docker image. I\'m trying to use Pipework to connect the Docker container to a

2条回答
  •  礼貌的吻别
    2021-02-01 04:26

    Docker containers do not have full privileges by default. Try adding this to the docker run command:

    --cap-add=NET_ADMIN
    

    List of capabilities

提交回复
热议问题