podman/libpod/define
Paul Holzinger 2fab7d169b
add podman volume reload to sync volume plugins
Libpod requires that all volumes are stored in the libpod db. Because
volume plugins can be created outside of podman, it will not show all
available plugins. This podman volume reload command allows users to
sync the libpod db with their external volume plugins. All new volumes
from the plugin are also created in the libpod db and when a volume from
the db no longer exists it will be removed if possible.

There are some problems:
- naming conflicts, in this case we only use the first volume we found.
  This is not deterministic.
- race conditions, we have no control over the volume plugins. It is
  possible that the volumes changed while we run this command.

Fixes #14207

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2022-06-23 18:36:30 +02:00
..
annotations.go Truncate annotations when generating kubernetes yaml files 2022-04-27 04:39:05 -04:00
checkpoint_restore.go Added optional container checkpointing statistics 2021-11-15 11:50:24 +00:00
config.go use libnetwork from c/common 2022-01-12 17:07:30 +01:00
container.go fix --init with /dev bind mount 2022-05-23 13:59:05 +02:00
container_inspect.go golangci-lint: enable nolintlint 2022-06-14 16:29:42 +02:00
containerstate.go podman stats: improve cpu average calc 2022-03-22 17:44:58 +01:00
diff.go podman diff accept two images or containers 2021-07-02 17:11:56 +02:00
errors.go Standardize on capatalized Cgroups 2022-01-14 12:30:20 -05:00
exec_codes.go Revert "Exec: use ErrorConmonRead" 2020-03-09 09:50:40 -04:00
fileinfo.go Fixes from make codespell 2021-04-21 13:16:33 -04:00
healthchecks.go fix healthcheck timeouts and ut8 coercion 2022-01-06 13:56:54 -06:00
info.go Add Authorixation field to Plugins for Info 2022-05-26 11:15:48 -07:00
mount.go separate file with mount consts in libpod/define 2021-03-07 12:01:04 +01:00
pod_inspect.go Fix swagger model of `InspectPodResponse` 2022-05-26 16:34:05 +02:00
podstate.go Add a Degraded state to pods 2020-10-21 13:31:40 -04:00
runtime.go Add support for containers.conf 2020-03-27 14:36:03 -04:00
terminal.go prune remotecommand dependency 2021-02-25 10:02:41 -06:00
version.go Add 'Os' to be queried via 'version' output 2022-03-29 18:10:59 -04:00
volume_inspect.go add podman volume reload to sync volume plugins 2022-06-23 18:36:30 +02:00