Exposed Volume: /icinga2: Contains all persistent data like config, ssh-key, cmd-pipe.
Exposed Port: 5665: Icinga2 API Port
2.11.0-r1: Icinga2 Version 2.11.0, image build 12.10: Icinga2 Version 2.10.x, latest image buildSee docker-compose.yml: Icinga2 stack with UI and Graphing (TODO)
# Set container hostname to get correct API Cert DN
sudo docker run \
--rm -t \
--name icinga2 \
--hostname icinga2 \
--link mysql \
-v $PWD/_data:/icinga2 \
-p 5665:5665 \
-e TIMEZONE=Europe/Berlin \
-e ICINGA_API_PASS=damn-secret \
psitrax/icinga2
sudo docker exec -ti icinga2 bash
| ENV-Var | default | description |
|---|---|---|
TIMEZONE | UTC | Timezone |
MYSQL_AUTOCONF | true | Enable MySQL auto configuration |
MYSQL_HOST | mysql | MySQL hostname |
MYSQL_PORT | mysql | MySQL Port |
MYSQL_DB | icinga2 | Database name |
MYSQL_USER | root | User |
MYSQL_PASS | root | Password |
ICINGA_API_PASS | Password for icingaweb2 API user | |
ICINGA_FEATURES | command ido-mysql | Space separated list of Icinga Feature-Modules |
ICINGA_LOGLEVEL | warning | Log level |
Content type
Image
Digest
Size
203.2 MB
Last updated
almost 6 years ago
docker pull psitrax/icinga2