Hi Peter,
I get this error when starting sflow-rt docker with custom script.
ERROR: for sflow-rt Cannot start service sflow-rt: OCI runtime create failed: sysctl "net.ipv4.ip_unprivileged_port_start" not allowed in host network namespace: unknown
I'm running it with the same settings on a different machine, with same debian 10 linux and docker version. The only difference seems to be that sflow-rt docker is older there.
I'm using the following settings on both machines (docker-compose):
sflow-rt:
container_name: sflow-rt
image: sflow/sflow-rt
restart: unless-stopped
sysctls:
- net.ipv4.ip_unprivileged_port_start=0
command: -Dsystem.propertyFiles=/sflow-rt/sflowrt.conf
volumes:
- ${PWD}/sflow-rt/flowspectest:/sflow-rt/app/flowspectest
- ${PWD}/sflow-rt/sflowrt.conf:/sflow-rt/sflowrt.conf
depends_on:
- nginx
network_mode: "host"
sflowrt.conf file:
http.hostname=127.0.0.1
bgp.start=yes
bgp.port=179
it's being run as root on both.
Do you think it could be related to the new sflow-rt docker version or it should be some setting on my environment?
Thank you.
Gaston