Fail2ban doesn't trigger jail - Seafile server docker

Hi, I have a seafile server deployed with docker and installed fail2ban to secure the server as per instructions in seafile manual. Fail2ban captures the failed attempts but does not trigger the jail.
‘fail2ban-client status seafile’ shows that is working and the ip banned but keeps allowing me to enter user and pass + captcha.
I would like to know How to trigger the jail so that I caanot even get attemps to login.Thanks