Load-balancing first sticky?

Any pointers on how to run HAproxy in a container instead of native?

Also, Sophos uses iptables load balancing, like so:
-A LOAD_BALANCING -d 172.18.5.10/32 -p tcp -m tcp --sport 1:65535 --dport 3306
-j ASG_BALANCE --balance_name REF_LB1
--balance_server 172.18.5.11,172.18.5.12,172.18.5.14
--balance_alg weight --balance_weight 100,100,0 --balance_persist
--balance_persist_size 4000 --balance_persist_time 900

(example of an LB rule for a MariaDB cluster.

I assume weights and presistence is something that isn’t implemented in the CLI either?