This is a docker image for lldpd based on the offical Debian packages.
Images are tagged according to the installed lldpd version. All images are build using different Debain GNU/Linux releases.
-
This image is build using Debian stretch and should be considered stable (recommended).
-
This image is build using Debian jessie and should be considered obsolete.
$ docker run --rm --net=host --uts=host --cap-add=NET_ADMIN --cap-add=NET_RAW ibhde/lldpd
The command is used as options for lldpd (which is already the entrypoint). By default the option -k
is used.
Feel free to change the behavior by passing lldpd options
as command.
# docker-compose.yml example
version: '3'
services:
lldpd:
image: ibhde/lldpd
cap_add:
- NET_ADMIN
- NET_RAW
network_mode: host
hostname: myhostname
# LLDPD options: hide kernel details and enable CDP
command: ["-k", "-c"]