Sign inSign up

allingeek/docker-freegeoip

By allingeek

Updated almost 11 years ago

Image
4

887

allingeek/docker-freegeoip repository overview

#docker-freegeoip

A Dockerfile for downloading and deploying the most recent version of https://github.com/fiorix/freegeoip. No quota restrictions enabled. License applies to the Dockerfile alone and should not translate to any software downloaded or executed during use.

##Installation from Index Deploying freegeoip is a breeze with Docker, our only direct and on-box dependency. If you haven't already go get started at https://www.docker.io/gettingstarted/#h_installation. Docker is a social deployment platform. By default it is connected to the central Docker index. This container is available through the Docker index under the tag, "allingeek/docker-freegeoip." To deploy this image, you need only tell docker to run it (replace with the actual TCP port number you want to run the service on):

sudo docker run -d -p <BARE-HOST-PORT>:8080 allingeek/docker-freegeoip

##Installation the Long Way Once Docker is installed on your host machine, clone this repo locally and build the docker image:

git clone [email protected]:allingeek/docker-freegeoip.git
cd docker-freegeoip
sudo docker build .

##Fire It Up Once you've build the image locally, you'll want to pull the generated image ID using:

sudo docker images

Alternatively, you may have specified the -t option duing build to tag the resulting image for ease of reference later. Starting the service using Docker, replace with the actual TCP port number you want to run the service on:

sudo docker run -d -p <BARE-HOST-PORT>:8080 <GENERATED IMAGE ID>

Tag summary

Content type

Image

Digest

sha256:d0bad0800

Size

279.8 MB

Last updated

almost 11 years ago

docker pull allingeek/docker-freegeoip