diff --git a/README.md b/README.md index 5cf1528c..91fa2699 100644 --- a/README.md +++ b/README.md @@ -728,7 +728,11 @@ If your Host name is different then `default`, you have to specify it (`docker-m
**On Linux:** -1 - Run `ifconfig` in the terminal. +1 - Run `ifconfig` in the terminal and follow step 2 - or grep the IP directly by the following command. + +```shell +$ ifconfig docker0 | grep 'inet' | cut -d: -f2 | awk '{ print $1}' | head -n1 +``` 2 - In the result search for `docker0`, your IP address will be next to `inet addr`.