Hi @rawand_ahmad and welcome to the MongoDB Community forums!
This means that you’re trying to bind the mongod process to an IP address that it can’t bind to. 172.17.0.1 belongs to the docker networking stack for containers to talk to each other. The local mongod cannot bind to that IP as that IP space is not accessible outside of Docker. Remove that from the list of bindIPs and you should be able to restart the mongod process using brew services rrestart mongodb-community.
You can use the host.docker.internal address to connect from your Docker container to processes running on your local machine. The below screenshot shows this in action: