Skip to content

Commit 3311087

Browse files
committed
docs/install: Also document using --rm
There's no reason to leak these containers by default. Signed-off-by: Colin Walters <[email protected]>
1 parent b57ddbd commit 3311087

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/install.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ other options.
4747
Here's an example:
4848

4949
```sh
50-
podman run --privileged --pid=host --security-opt label=type:unconfined_t <image> bootc install --target-no-signature-verification /path/to/disk
50+
podman run --rm --privileged --pid=host --security-opt label=type:unconfined_t <image> bootc install --target-no-signature-verification /path/to/disk
5151
```
5252

5353
Note that while `--privileged` is used, this command will not perform any
@@ -210,7 +210,7 @@ support the root storage setup already initialized.
210210
The core command should look like this:
211211

212212
```sh
213-
podman run --privileged -v /:/target --pid=host --security-opt label=type:unconfined_t \
213+
podman run --rm --privileged -v /:/target --pid=host --security-opt label=type:unconfined_t \
214214
<image> \
215215
bootc install-to-filesystem --replace=alongside /target
216216
```

0 commit comments

Comments
 (0)