-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
more options to resolve 'docker' ip also use socket
- Loading branch information
Showing
3 changed files
with
53 additions
and
18 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,7 +6,7 @@ | |
iptool [global options] command [command options] [arguments...] | ||
VERSION: | ||
1.0.2 | ||
1.0.3 | ||
AUTHOR(S): | ||
Andres Villarroel <[email protected]> | ||
|
@@ -15,7 +15,7 @@ | |
router Do a DNS request to myip.opendns.com to get your router IP address | ||
ip Creates a simple UDP/53 connection to Google or OpenDNS and returns the source IP address | ||
lan alias of 'ip' command | ||
docker Attempts to obtain docker host address from $DOCKER_HOST, docker.local or local.docker, defaults to loopback (127.0.0.1) if nothing works | ||
docker Obtain address from $DOCKER_HOST, docker.local or local.docker. If /var/run/docker.sock is a socket uses 'lan' or 127.0.0.1 if something answers on 2375 or 2376 | ||
version Version number only | ||
help, h Shows a list of commands or help for one command | ||
|
This file contains 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