Files
Phraseanet/docker/phraseanet-debug/usr/bin/docker-get-host-ip
2019-05-02 13:44:51 +02:00

5 lines
94 B
Bash

#!/bin/sh
/sbin/ip route|awk '/default/ { print $3 }'
# TODO support MacOS & Windows host IP