I have a situation very similar to a previously asked question that has not been answered: cannot block public IP from fail2ban with docker.
Problem statement: Unable