mirror of
https://github.com/containers/podman.git
synced 2025-08-06 19:44:14 +08:00
Merge pull request #23010 from ygalblum/quadlet-doc-relative-path
[CI:DOCS] Quadlet - add note about relative path resolution
This commit is contained in:
@ -185,6 +185,13 @@ create a drop-in file like `sleep@10.container.d/10-image.conf`:
|
|||||||
Image=quay.io/centos/centos
|
Image=quay.io/centos/centos
|
||||||
```
|
```
|
||||||
|
|
||||||
|
### Relative paths
|
||||||
|
|
||||||
|
In order to support Systemd specifiers, Quadlet does not resolve relative paths that start with `%`.
|
||||||
|
To resolve such a path, prepend it with `./`.
|
||||||
|
|
||||||
|
For example, instead of `EnvironmentFile=%n/env` use `EnvironmentFile=./%n/env`
|
||||||
|
|
||||||
### Debugging unit files
|
### Debugging unit files
|
||||||
|
|
||||||
After placing the unit file in one of the unit search paths (mentioned
|
After placing the unit file in one of the unit search paths (mentioned
|
||||||
|
Reference in New Issue
Block a user