M soju/README.md => soju/README.md +9 -6
@@ 2,25 2,28 @@
https://sr.ht/~emersion/soju
-es:
+## Build the image
+
+ docker build -t whatever/you:want .
+
+## Using the image
+
+Suppose you tagged the image as `mapperr/soju:latest`:
docker run -d \
--name soju \
-p 6697:6697 \
-v ./soju.db:/soju.db \
- mapperr/soju
+ mapperr/soju:latest
then create a user with:
docker exec --it soju \
/soju/sojuctl create-user my_user
-it will ask for a password.
+it will ask for a password on stdin.
Once done restart the container:
docker restart soju
-
-Enjoy.
-