Can i disable bench command

Can I disable the bench command, because I want to install for customers to use docker, if they docker exec in and run: bench --site [site-name] set-admin-password [pass], they can Modify everything with the administrator account

Hi,

Would it be possible to use Docker Secrets in this case? I’m not that well versed in it but perhaps someOne will be able to suggest something.