Not Just Paranoid

Another site by Pete Maynard

Locally socket activated and containerised Riot service

This post details how to start a container when a port is accessed.

Specifically, we will start an instance of the Riot IM chat service. This will let you run a version of it locally, instead of hosting it on the public internet. e.g.

Create the container. Note the name and port forwarding is specified here:

podman run -d --name local_riot -p 8081:80 vectorim/riot-web


Description=RIOT Local Socket




Description=RIOT Local Service

ExecStart=/usr/bin/podman start -a local_riot
ExecStop=/usr/bin/podman stop -t 10 local_riot

Reload systemd, and enable, then start the socket.

systemctl --user daemon-reload
systemctl --user enable local-riot.socket
systemctl --user start local-riot.socket

So now you can go to and use riot.

17 Jun 2020 | Tags ( matrix linux systemd )

Website Last Updated on 15 Sep 2023 (CC BY-SA 4.0)

This site uses JQuery and nanogallery2 hosted by
for the Flickr photo feed and GoatCounter for user insights.