Vyos 1.4 container --privileged flag

I couldn’t find any references for this in the documentation Container — VyOS 1.5.x (circinus) documentation

My container logs:

ERROR: Rancher must be ran with the --privileged flag when running outside of Kubernetes

I am unsure what option to pass to get it working.

I would suggest trying:

container name <name> cap-add net-admin
container name <name> cap-add net-bind-service
container name <name> cap-add net-raw

Keep in mind in doing so the container is then able to make changes to the routing tables etc on your Vyos instance, so proceed with caution!