Skip to content

Files

Latest commit

 

History

History

what_is_my_ip

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

Background

This tool is based on a post. It's a good proven way to extract a host ip from a docker container (that is using host networking).

Function

Add this function definition to any set of prompts that might need to extract the host IP address.

- container:
    image: vonwig/what-is-my-ip:latest
  name: what-is-my-ip
  description: Get the host IP address for this machine.