Skip to content

Instantly share code, notes, and snippets.

@BrianRosamilia
Created August 9, 2016 02:42
Show Gist options
  • Save BrianRosamilia/6ab3d324cd9c44691b17f6ad8d3bef3b to your computer and use it in GitHub Desktop.
Save BrianRosamilia/6ab3d324cd9c44691b17f6ad8d3bef3b to your computer and use it in GitHub Desktop.
Docker get host ip from container
netstat -nr | grep '^0\.0\.0\.0' | awk '{print $2}'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment