1
0
mirror of https://blitiri.com.ar/repos/chasquid synced 2025-12-17 14:37:02 +00:00

docker: Use --rm in the example about adding users

When creating containers to run a single one-off command that alters a
volume, the `--rm` option is needed, otherwise that container is left
around and can cause confusion later on.

https://github.com/albertito/chasquid/pull/69

Amended-by: Alberto Bertogli <albertito@blitiri.com.ar>
  Adjusted commit message.
This commit is contained in:
Guiorgy
2025-08-02 23:07:53 +04:00
committed by Alberto Bertogli
parent d82380901c
commit ad7975c826

View File

@@ -52,7 +52,7 @@ To add your first user to the image:
```
$ docker run \
--mount source=chasquid-data,target=/data \
-it --entrypoint=/add-user.sh \
--rm -it --entrypoint=/add-user.sh \
registry.gitlab.com/albertito/chasquid:main
Email (full user@domain format): pepe@example.com
Password: