mirror of
https://github.com/containers/podman.git
synced 2026-03-13 08:01:19 +08:00
Quadlet docs: clarify behaviour of VolumeName default
Signed-off-by: cyqsimon <28627918+cyqsimon@users.noreply.github.com>
This commit is contained in:
@@ -214,8 +214,9 @@ to mount a distinct volume. In this case you can create a template Quadlet
|
||||
`foo-data@.volume`:
|
||||
```
|
||||
[Volume]
|
||||
# Optional: automatic naming does work with template Quadlets too.
|
||||
# This is just to demonstrate the behaviour of systemd specifiers (e.g. %i).
|
||||
# Optional: without an explicit VolumeName, Quadlet auto-generates one with a
|
||||
# "systemd-" prefix (e.g. systemd-foo-data-%i for foo-data@.volume).
|
||||
# This does not affect how you reference this Quadlet from other Quadlets.
|
||||
VolumeName=my-name-%i
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user