This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # Script is needed because my default firewall rules are messed up and after | |
| # every restart, docker containers can't make connections to the host, notably | |
| # preventing debuggers like xdebug from attaching. | |
| # If networking fails in your containers but works in others, rm and re-create the | |
| # docker network that container is bound to. | |
| set -euo pipefail |