Use the default bridge driver unless you have a good reason not to. That is the easiest and you cans till make ports available by forwarding ports from the host to containers.
If you can’t ping containers, that means you either use Docker Desktop and containers are in a VM including their networks, or you are using MacVLAN as in your other topic