Skip to content

This is a docker container which shows a web page with the container's public Ip

Notifications You must be signed in to change notification settings

Martinay/show-public-ip

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 

Repository files navigation

show-public-ip

A simple web server that outputs the container's public ip address as a web site. There are two routes available:

  • / shows an http site
  • /api show only the api

Supported tags and respective Dockerfile links

For more information about this image and its history, please have a look at martinay/show-public-ip GitHub repo.

What is show-public-ip?

show-public-ip is a simple web site to show the container's public IP address, written in javascript.

How to use this image?

The docker image is auto built at https://registry.hub.docker.com/u/martinay/show-public-ip/.

Local Run

$ docker run --rm -it -p 80:80 martinay/show-public-ip

with custom port:

$ docker run --rm -it -e PORT=1234 -p 1234:1234 martinay/show-public-ip

Which image is based on?

The image is based on node:lts-alpine

About

This is a docker container which shows a web page with the container's public Ip

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published