Fix up README.
Chris Pressey
1 year, 7 months ago
5 | 5 | docker run --user $(id -u):$(id -g) -i -t -v "${PWD}:/mnt/host" \ |
6 | 6 | -e BOTNAME=mybotname -e CHANNEL='#mychannel' \ |
7 | 7 | catseye/mzstorkipiwanbotbotbot:0.1 \ |
8 | irc.libera.chat 6697 | |
8 | mzstorkipiwanbotbotbot irc.libera.chat 6697 | |
9 | 9 | |
10 | 10 | (Or, for simpler more convenient usage, use the `mzstorkipiwanbotbotbot` script in [The Cannery](https://git.catseye.tc/The-Cannery/).) |
11 | 11 | |
12 | 12 | This Docker image is fairly experimental. Please don't lean on it too heavily. |
13 | 13 | |
14 | The `-v "${PWD}:/mnt/host"` option in the above bind-mounts the current directory on the host to the working directory in the container. This lets you give filenames as usual on the `sixtypical` command line, so long as they reside somewhere under the current directory on the host. 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. | |
14 | 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. |