weechat- backup of me weechat setup |
git clone git://git.acid.vegas/weechat.git |
Log | Files | Refs | Archive | README |
commit dcb05a1b89122841882fcff725687b5a3f004cf8
parent 4723dd0a89aa1f81b377146e8c525216bc73cf94 Author: acidvegas <acid.vegas@acid.vegas> Date: Fri, 9 Jun 2023 21:34:10 -0400 Added docker information for running weechat in a container Diffstat:
|
1 file changed, 17 insertions(+), 0 deletions(-) |
diff --git a/README.md b/README.md @@ -5,6 +5,7 @@ - [Setup](#setup) - [WeeChat](#weechat) - [Relay](#relay) + - [Docker](#docker) - [Settings](#settings) - [Appearance](#appearance) - [Settings](#appearance) @@ -52,6 +53,22 @@ echo -e "[Unit]\nDescription=headless weechat relay service\nAfter=network.targe 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 |