Live data from Hacker News

Irssi: IRC client in a Docker image

hub.docker.com

11–20 of 63 posts

Re: Irssi: IRC client in a Docker image

#12
post #2

This seems absurd. Just apt install irssi. Why Docker for such a simple self contained tiny app?

For my homelab: portable state. I don't use this image specifically but I use many others.

I put docker-compose files in ~/configdata/_docker/

The docker-compose files always mount volumes inside the ~/configdata/ directory. So let's say irssi has a config directory to mount I'd mount it to ~/configdata/irssi/config/

Then I can just run a daily backup on ~/configdata/ using duplicati or whatever differential backup tool of your choice and be able to restore application state, easily move it to another server, etc.

Re: Irssi: IRC client in a Docker image

#14
post #2

This seems absurd. Just apt install irssi. Why Docker for such a simple self contained tiny app?

Poor mans abstraction. Docker swarm makes a cheap node pool from random hardware. Compose makes all your apps and config live in git. You don't _need_ docker, but if you are already set up for it then it's a boon. Adding an app for me to be very available across a fleet of hardware with ceph backed storage is a one-liner.

> Adding an app for me to be very available across a fleet of hardware with ceph backed storage is a one-liner.

But irssi is a chat client:

  About
  
  Irssi is a modular text mode chat client. It comes with IRC 
  support built in.[0]
0 - https://irssi.org/

Re: Irssi: IRC client in a Docker image

#15
post #12
post #2

This seems absurd. Just apt install irssi. Why Docker for such a simple self contained tiny app?

For my homelab: portable state. I don't use this image specifically but I use many others. I put docker-compose files in ~/configdata/_docker/ The docker-compose files always mount volumes inside the ~/configdata/ directory. So let's say irssi has a config directory to mount I'd mount it to ~/configdata/irssi/config/ Then I can just run a daily backup on ~/configdata/ using duplicati or whatever differential backup t…

For software designed to run under your user account like irssi it's pretty much the same, look in ~/.config and ~/.local/share

Re: Irssi: IRC client in a Docker image

#16
post #10

Better would be a docker container for an IRC server. Something using a modern approach where you could have link attachments, replies for message threads etc. An IRC slack alternative.

Is there no dockerized irc server that exists or are you thinking about something else here?

Re: Irssi: IRC client in a Docker image

#20
I use thelounge, it's pretty amazing except it hogs up a lot of disk space with the logs. I ve also been really sad that you can't update it without restarting the process which means I lose everything I am connected to (which on IRc sometimes isnt ideal)
Post reply on HN