Wednesday, October 18, 2017

How to get the IP address of the docker host from inside a docker container

/sbin/ip route|awk '/default/ { print $3 }'

No comments:

Post a Comment

Git get all remote branches

git branch -r \ | grep -v '\->' \ | sed "s,\x1B\[[0-9;]*[a-zA-Z],,g" \ | while read remote; do \ git branc...