Man pages: Add mention of behavior due to XDG_CONFIG_HOME

When the `XDG_CONFIG_HOME` environment variable is changed, for example,
to switch development contexts, the behavior of the podman-machine can
be confusing. The documentation had not mentioned this, and this commit
adds these mentions.

Closes: https://github.com/containers/podman/issues/15577

Reviewed-by: Daniel J Walsh <dwalsh@redhat.com>
Signed-off-by: Naoaki Ueda <nao@uedder.com>
This commit is contained in:
Naoaki Ueda 2022-10-10 15:40:33 +09:00
parent 5908996738
commit d4052c1aa9
No known key found for this signature in database
2 changed files with 9 additions and 0 deletions

View File

@ -19,6 +19,11 @@ but can be optionally used on Linux.
Rootless only.
NOTE: The podman-machine configuration file is managed under the
`$XDG_CONFIG_HOME/containers/podman/machine/` directory. Changing the `$XDG_CONFIG_HOME`
environment variable while the machines are running can lead to unexpected behavior.
(see [podman(1)](podman.1.md))
## OPTIONS
#### **--format**=*format*

View File

@ -16,6 +16,10 @@ but can be optionally used on Linux.
All `podman machine` commands are rootless only.
NOTE: The podman-machine configuration file is managed under the
`$XDG_CONFIG_HOME/containers/podman/machine/` directory. Changing the `$XDG_CONFIG_HOME`
environment variable while the machines are running can lead to unexpected behavior.
## SUBCOMMANDS
| Command | Man Page | Description |