Hi there,
I am migrating a script from circleci 1.0 to circleci 2.0.
Our tests currently redirect traffic from port 80 to the application port of 3060. This allows a WD.js browser instance to launch. On CircleCI 1.0 this was achieved using iptables
. However when we executed the current iptables
command on CircleCI 2.0 (iptables -t nat -I OUTPUT -p tcp -o lo --dport 80 -j REDIRECT --to-ports 3060
) an error of Permission denied (you must be root)
is raised.
What is the suggested approach to allow the ports to correctly bind?
The following comment (Building a Docker image on 2.0) was made about setup-docker-engine
. However I thought this didn’t cover ports.
Thanks!
Aaron.