Sign inSign up

jchonig/conman

By jchonig

•Updated about 24 hours ago

Image
0

2.4K

jchonig/conman repository overview

⁠docker-conman

A docker container to run dun/conmain⁠.

Image hosted at: ghcr.io/jchonig/conman

⁠Usage

⁠docker-compose

Compatible with docker-compose

---
services:
  conman:
    image: ghcr.io/jchonig/conman
    container_name: conman
    environment:
      - PUID=1000
      - PGID=1000
      - TZ=Europe/London
    privileged: true	# When mounting /dev
    volumes:
	  - PATHTO/config:/config
	  - PATHTO/logs:/logs
      - /dev:/dev		# Optional
      - /run/udev:/run/udev:ro # Optional
	expose:
	  - 7980
    devices:
      - /dev/ttyUSB00:/dev/ttyUSB00
    restart: unless-stopped

⁠Parameters

⁠Environment Variables (-e)

EnvFunction
PUID=1000for UserID - Set to UID that will run conman
PGID=1000for GroupID - Set to GID that will run conman
TZ=UTCSpecify a timezone to use EG UTC

⁠Volume Mappings (-v)

VolumeFunction
/configThis directory will contain conman.conf
/logsThis directory is for storing logfiles
/devFor direct access to device entries (if they don't exist at startup)
/run/udev""

⁠Application Setup

  • If /config/conman.conf does not exist, the default configuration file will be installed
  • Map any serial devices into the container or mount /dev into the container

⁠TODO

  • Pass logrotate parameters as ENV variables?

Tag summary

Content type

Image

Digest

sha256:339a0c121…

Size

58.4 MB

Last updated

about 24 hours ago

docker pull jchonig/conman