mirror of
https://blitiri.com.ar/repos/chasquid
synced 2025-12-18 14:47:03 +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:
committed by
Alberto Bertogli
parent
d82380901c
commit
ad7975c826
@@ -52,7 +52,7 @@ To add your first user to the image:
|
|||||||
```
|
```
|
||||||
$ docker run \
|
$ docker run \
|
||||||
--mount source=chasquid-data,target=/data \
|
--mount source=chasquid-data,target=/data \
|
||||||
-it --entrypoint=/add-user.sh \
|
--rm -it --entrypoint=/add-user.sh \
|
||||||
registry.gitlab.com/albertito/chasquid:main
|
registry.gitlab.com/albertito/chasquid:main
|
||||||
Email (full user@domain format): pepe@example.com
|
Email (full user@domain format): pepe@example.com
|
||||||
Password:
|
Password:
|
||||||
|
|||||||
Reference in New Issue
Block a user