Public | Automated Build

Last pushed: 2 years ago
Short Description
Short description is empty for this repo.
Full Description

Docker Whatsmyip Container

The solo purpose for this container is to print out this containers public ip address.
We use this for other containers to discover under which public ip a service is reachable.

Example:

PUBLIC_IP=$(docker run --rm -ti megusta/whatsmyip)
docker run --rm -ti -p 8080:8080 megusta/tomcat:7.0
echo "Tomcat running on http://$PUBLIC_IP:8080"
Docker Pull Command
Owner
megusta

Comments (0)