git @ Cat's Eye Technologies The-Cannery / master catseye / mzstorkipiwanbotbotbot / README.md
master

Tree @master (Download .tar.gz)

README.md @masterview markup · raw · history · blame

The image contains mzstorkipiwanbotbotbot its strict dependencies (Lua 5.1) and tools that allow it to be actually used as a bot on the ircs protocol (gnutls-cli and socat).

Example of use:

docker pull catseye/mzstorkipiwanbotbotbot:0.1
docker run --user $(id -u):$(id -g) -i -t -v "${PWD}:/mnt/host" \
    -e BOTNAME=mybotname -e CHANNEL='#mychannel' \
    catseye/mzstorkipiwanbotbotbot:0.1 \
    mzstorkipiwanbotbotbot irc.libera.chat 6697

(Or, for simpler more convenient usage, use the mzstorkipiwanbotbotbot script in The Cannery.)

This Docker image is fairly experimental. Please don't lean on it too heavily.

The -v "${PWD}:/mnt/host" option in the above bind-mounts the current directory on the host to the working directory in the container. If you want anything more sophisticated than that, you'll have to establish more bind-mounts and translate paths between host and container as your needs dictate.