PhoneInfoga is a tool for scanning international phone numbers. It gathers various details like country, area, carrier, line type, and other. The tool utilizes a set of scanners that need to be configured properly for optimal performance.
This tutorial explains how to install PhoneInfoga inside a Docker container on Linux. Commands have been tested on Ubuntu.
Prepare environment
Make sure you have installed Docker in your system. If you are using Ubuntu, installation instructions can be found in the post.
Install PhoneInfoga
- Host network
Run the following command to create a container for PhoneInfoga that uses host network:
docker run -d --name=phoneinfoga --restart=always --network=host \
sundowndev/phoneinfoga serve
- User-defined bridge network
User-defined bridge network can be used for listening on different port. By default, PhoneInfoga service is listening on port 5000. It can be changed with -p
option.
docker network create app-net
docker run -d --name=phoneinfoga --restart=always --network=app-net \
-p 8080:5000 \
sundowndev/phoneinfoga serve
Testing PhoneInfoga
To access a web UI, go to http://<IP_ADDRESS>:5000
, where <IP_ADDRESS>
is the IP address of the system.
Uninstall PhoneInfoga
To completely remove PhoneInfoga, remove its container:
docker rm --force phoneinfoga
Remove PhoneInfoga image:
docker rmi sundowndev/phoneinfoga
If a user-defined bridge network was created, you can delete it as follows:
docker network rm app-net
Leave a Comment
Cancel reply