Added docker information for running weechat in a container

This commit is contained in:
Dionysus 2023-06-09 21:34:10 -04:00
parent 4723dd0a89
commit dcb05a1b89
Signed by: acidvegas
GPG Key ID: EF4B922DB85DC9DE

View File

@ -5,6 +5,7 @@
- [Setup](#setup) - [Setup](#setup)
- [WeeChat](#weechat) - [WeeChat](#weechat)
- [Relay](#relay) - [Relay](#relay)
- [Docker](#docker)
- [Settings](#settings) - [Settings](#settings)
- [Appearance](#appearance) - [Appearance](#appearance)
- [Settings](#appearance) - [Settings](#appearance)
@ -52,6 +53,22 @@ echo -e "[Unit]\nDescription=headless weechat relay service\nAfter=network.targe
systemctl --user enable weechat-headless systemctl --user enable weechat-headless
``` ```
###### Docker
```shell
sudo apt update
sudo apt install apt-transport-https ca-certificates curl gnupg2 software-properties-common
curl -fsSL https://download.docker.com/linux/debian/gpg | sudo apt-key add -
sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/debian $(lsb_release -cs) stable"
sudo apt update
apt-cache policy docker-ce
sudo apt install docker-ce
sudo usermod -aG docker ${USER}
su - ${USER}
mkdir -p ~/.weechat-container
docker run -ti -v $HOME/.weechat-container:/home/user/.weechat weechat -d /home/user/.weechat
```
--- ---
### Settings ### Settings