Skip to content

Run knxd in docker container and publish on ghcr.io

License

Notifications You must be signed in to change notification settings

ptr33/knxd-docker

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

knxd-docker

Build the container with specific version of KNXD. The container is using a multi-stage build, which reduces the final container size from 414 MBytes to 16.5 MBytes.

docker build -t ptr33/knxd-docker --build-arg KNXD_VERSION=0.14.72 .

The container is automatically built using GitHub actions and published on ghcr.io in https://github.com/ptr33/knxd-docker/pkgs/container/knxd-docker

Run knxd in docker container

docker run \
--name=knxd \
-p 6720:6720/tcp -p 3671:3671/udp \
--device=/dev/bus/usb:/dev/bus/usb:rwm \
--device=/dev/mem:/dev/mem:rw \
--device=/dev/knx:/dev/knx \
--cap-add=SYS_MODULE --cap-add=SYS_RAWIO \
--restart unless-stopped ghcr.io/ptr33/knxd-docker

Test the knx server by login to the container and run e.g. knxtool groupswrite ip:localhost 0/0/20 0

About

Run knxd in docker container and publish on ghcr.io

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Languages

  • Dockerfile 91.8%
  • Shell 8.2%