summaryrefslogtreecommitdiff
path: root/docs/content/reference/guides/generating-secure-values.md
diff options
context:
space:
mode:
authorMad Scientist <67949699+madscientist16@users.noreply.github.com>2024-10-25 17:01:25 +0500
committerGitHub <noreply@github.com>2024-10-25 12:01:25 +0000
commit16d645158465cbf79875435af9de2d7b21d580f6 (patch)
treed674cdd2528b5011c6378e4dfd3a72907050ee1c /docs/content/reference/guides/generating-secure-values.md
parentc103959c6ebf25dc75138facc87e26cc7c729e13 (diff)
docs: include docker remove argument (#8103)
* Remove docker containers after generating secrets Signed-off-by: Mad Scientist <67949699+madscientist16@users.noreply.github.com> * Add --rm argument to some other docker commands Signed-off-by: Mad Scientist <67949699+madscientist16@users.noreply.github.com> --------- Signed-off-by: Mad Scientist <67949699+madscientist16@users.noreply.github.com>
Diffstat (limited to 'docs/content/reference/guides/generating-secure-values.md')
-rw-r--r--docs/content/reference/guides/generating-secure-values.md8
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/content/reference/guides/generating-secure-values.md b/docs/content/reference/guides/generating-secure-values.md
index bfc9444e4..af7406ab2 100644
--- a/docs/content/reference/guides/generating-secure-values.md
+++ b/docs/content/reference/guides/generating-secure-values.md
@@ -30,7 +30,7 @@ more information on all available options and algorithms.
{{< envTabs "Generate Random Password" >}}
{{< envTab "Docker" >}}
```bash
-docker run authelia/authelia:latest authelia crypto hash generate argon2 --random --random.length 64 --random.charset alphanumeric
+docker run --rm authelia/authelia:latest authelia crypto hash generate argon2 --random --random.length 64 --random.charset alphanumeric
```
{{< /envTab >}}
{{< envTab "Bare-Metal" >}}
@@ -55,7 +55,7 @@ all available options.
{{< envTabs "Generate Random String" >}}
{{< envTab "Docker" >}}
```bash
-docker run authelia/authelia:latest authelia crypto rand --length 64 --charset alphanumeric
+docker run --rm authelia/authelia:latest authelia crypto rand --length 64 --charset alphanumeric
```
{{< /envTab >}}
{{< envTab "Bare-Metal" >}}
@@ -102,7 +102,7 @@ information on all available options.
{{< envTabs "Generate RSA Key Pair" >}}
{{< envTab "Docker" >}}
```bash
-docker run -u "$(id -u):$(id -g)" -v "$(pwd)":/keys authelia/authelia:latest authelia crypto pair rsa generate --directory /keys
+docker run --rm -u "$(id -u):$(id -g)" -v "$(pwd)":/keys authelia/authelia:latest authelia crypto pair rsa generate --directory /keys
```
{{< /envTab >}}
{{< envTab "Bare-Metal" >}}
@@ -144,7 +144,7 @@ information on all available options.
{{< envTabs "Generate RSA Key Pair" >}}
{{< envTab "Docker" >}}
```bash
-docker run -u "$(id -u):$(id -g)" -v "$(pwd)":/keys authelia/authelia:latest authelia crypto certificate rsa generate --common-name example.com --directory /keys
+docker run --rm -u "$(id -u):$(id -g)" -v "$(pwd)":/keys authelia/authelia:latest authelia crypto certificate rsa generate --common-name example.com --directory /keys
```
{{< /envTab >}}
{{< envTab "Bare-Metal" >}}