Skip to content

Instantly share code, notes, and snippets.

@kevnord
Created October 25, 2019 19:23
Show Gist options
  • Select an option

  • Save kevnord/e5b467546dca32804986a6fb6f06dad5 to your computer and use it in GitHub Desktop.

Select an option

Save kevnord/e5b467546dca32804986a6fb6f06dad5 to your computer and use it in GitHub Desktop.

Revisions

  1. kevnord created this gist Oct 25, 2019.
    3 changes: 3 additions & 0 deletions docker-cli.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,3 @@
    # Get Host IP Address
    ip addr show docker0 | grep -Po 'inet \K[\d.]+'