Public Repository

Last pushed: a year ago
Short Description
Debian DarkChannel Chat System containerized
Full Description

This image allows you to run the DarkChannel Chat System in container with a persistent profile in a data container while having gpg-agent show up on your host's X11 display. It's able to run a DarkChannel Channel Server, a DarkChannel Client or a DarkChannel IRC Gateway.

Check out http://darkchannel.ch for more information on the DarkChannel project.

The image uses the /tmp/.X11-unix unix domain socket passed to the container using a volume bind to connect to the local X11 server on the host. Xsecurity applies and the startup script automatically uses xhost to enable access from gpg-agent running under uid 20000 inside the container.

The image uses a data container for DarkChannel profile persistence. The startup script allows to backup and restore the DarkChannel profile from the data container to the host. It also assures that the newest image gets fetched automaticallty should a newer version be available.

To install the DarkChannel startup scripts use the following command:

export TARGET_DIR=~/bin

docker run -t -i --rm --env TARGET_UID=$(id -u) --env TARGET_GID=$(id -g) -u root -w /home/darkchannel -v ${TARGET_DIR}:/install aguindehi/debian-darkchannel:latest ./install

It will install the scripts dcc, dcd, dccore into the target directory you specify.

To run the DarkChannel Client after installation:

~/bin/dcc

To run the DarkChannel Channel Server after installation:

~/bin/dcd

To run the DarkChannel IRC Gateway after installation:

~/bin/dccore

To backup your DarkChannel profile data:

~/bin/dc[cd] backup

The backup archive is named /var/tmp/darkchannel-backup/dc[cd]-profile-<date>.tar.gz

To restore your DarkChannel profile data:

~/bin/dc[cd] restore <filename>

The backup archive will be loaded from /var/tmp/darkchannel-backup/<filename>

To get a shell inside of the container with mounted data directory:

~/bin/dc[cd] bash

To reinstall or update the Iceweasel startup script and images:

~/bin/dc[cd] update

To see the help of the startup script:

~/bin/dc[cd] help

Docker Pull Command
Owner
aguindehi