I can’t ping local hostnames anymore from within the docker container anymore. Pinging e.g. google.com still works.
host’s /etc/resolv.conf
domain fritz.box
nameserver 192.168.188.1
docker’s /etc/resolv.conf
search local.hass.io
nameserver 172.30.32.3
This means I have to change all script hostnames to an ip like e.g. raspberrypi
to 192.168.188.100
etc.
shell_command:
restart_bar: "ssh -i /config/ssh/id_rsa foo@raspberrypi 'sudo systemctl restart bar.service'"