Hi, I am a new to nomad and I am trying to run a simple whoami application with a sidecar as described here. Nomad is running as a deamon in the nomad user. Deploying the container with docker without the proxy works fine. I followed the Consul Service Mesh guide. I am getting the following error:
2021-11-16T19:14:11.254Z [ERROR] client.alloc_runner: prerun failed: alloc_id=xx error="pre-run hook "network" failed: failed to configure networking for alloc: failed to initialize table forwarding rules: failed to list iptables chains: running [/usr/sbin/iptables -t filter -S --wait]: exit status 4: Fatal: can't open lock file /run/xtables.lock: Permission denied 2021-11-16T19:14:11.279Z [ERROR] client.alloc_runner.runner_hook: failed to cleanup network for allocation, resources may have leaked: alloc_id=xxx alloc=xx error="neither iptables nor ip6tables usable"
Is there there a possibility to run nomad without root rights?