phpIPAM-agent Docker image
Find a file
2020-10-29 13:54:53 +01:00
build.sh Create build.sh 2020-10-28 20:11:41 +01:00
buildx.sh Create buildx.sh 2020-10-28 20:10:05 +01:00
Dockerfile Update Dockerfile 2020-10-29 13:54:53 +01:00
LICENSE Initial commit 2018-09-07 01:43:07 +02:00
php.ini Initial commit 2018-09-07 01:43:07 +02:00
README.md Update README.md 2020-10-28 19:25:19 +01:00

docker-phpipam-agent

phpIPAM is an open-source web IP address management application. Its goal is to provide light and simple IP address management application.

phpIPAM is developed and maintained by Miha Petkovsek, released under the GPL v3 license, project source is here

Learn more on phpIPAM homepage

This container can be used as a discovery scan agent.

How to use this Docker image

Setup PHPIPAM

  • See steps in https://github.com/pierrecdn/phpipam

  • Configure a remote agent (Administration > scan agents), get the key. config_agent

  • For each subnet, enable scan & configure the remote agent by selecting a remote. config_subnet

Run this container

Pass the MySQL password and the phpipam agent key.

$ docker run -ti -d -e PHPIPAM_AGENT_KEY=dummy-key -e MYSQL_ENV_MYSQL_PASSWORD=my-secret-pw --name ipam-agent --link phpipam-mysql:mysql pierrecdn/phpipam-agent

Now, the discovery scans will be performed every 1mn by default.

The logs are available on stdout/stderr (allowing to use docker logs).

Acknowledgements

Based on pierrecdn/phpipam-agent, published on docker hub.

docker-phpipam-agent