automation-tests/docs/source/markdown
Matthew Heon b53cb57680 Initial implementation of volume plugins
This implements support for mounting and unmounting volumes
backed by volume plugins. Support for actually retrieving
plugins requires a pull request to land in containers.conf and
then that to be vendored, and as such is not yet ready. Given
this, this code is only compile tested. However, the code for
everything past retrieving the plugin has been written - there is
support for creating, removing, mounting, and unmounting volumes,
which should allow full functionality once the c/common PR is
merged.

A major change is the signature of the MountPoint function for
volumes, which now, by necessity, returns an error. Named volumes
managed by a plugin do not have a mountpoint we control; instead,
it is managed entirely by the plugin. As such, we need to cache
the path in the DB, and calls to retrieve it now need to access
the DB (and may fail as such).

Notably absent is support for SELinux relabelling and chowning
these volumes. Given that we don't manage the mountpoint for
these volumes, I am extremely reluctant to try and modify it - we
could easily break the plugin trying to chown or relabel it.

Also, we had no less than *5* separate implementations of
inspecting a volume floating around in pkg/infra/abi and
pkg/api/handlers/libpod. And none of them used volume.Inspect(),
the only correct way of inspecting volumes. Remove them all and
consolidate to using the correct way. Compat API is likely still
doing things the wrong way, but that is an issue for another day.

Fixes #4304

Signed-off-by: Matthew Heon <matthew.heon@pm.me>
2021-01-14 15:35:33 -05:00
..
links Add podman container ps command 2020-11-23 10:49:26 +01:00
containers-mounts.conf.5.md docs: Mention mounts.conf location for non-root users 2020-11-02 16:55:10 +01:00
podman-attach.1.md Add anchors for flag names on docs.podman.io 2020-11-10 15:27:08 +01:00
podman-auto-update.1.md auto updates: document systemd unit and timer 2020-12-09 12:03:42 +01:00
podman-build.1.md podman build --force-rm defaults to true in code 2021-01-10 05:52:33 -05:00
podman-commit.1.md Add anchors for flag names on docs.podman.io 2020-11-10 15:27:08 +01:00
podman-completion.1.md Install the new shell completion logic 2020-11-12 11:40:29 +01:00
podman-container-checkpoint.1.md add pre checkpoint 2021-01-10 21:38:28 +08:00
podman-container-cleanup.1.md Add anchors for flag names on docs.podman.io 2020-11-10 15:27:08 +01:00
podman-container-exists.1.md Add anchors for flag names on docs.podman.io 2020-11-10 15:27:08 +01:00
podman-container-prune.1.md Add --filter to podman system prune 2020-12-09 16:01:13 -05:00
podman-container-restore.1.md add pre checkpoint 2021-01-10 21:38:28 +08:00
podman-container-runlabel.1.md Add anchors for flag names on docs.podman.io 2020-11-10 15:27:08 +01:00
podman-container.1.md Add podman container ps command 2020-11-23 10:49:26 +01:00
podman-cp.1.md remote copy 2020-12-18 12:08:49 +01:00
podman-create.1.md Handle --rm when starting a container 2020-12-11 06:07:14 -05:00
podman-diff.1.md Add anchors for flag names on docs.podman.io 2020-11-10 15:27:08 +01:00
podman-events.1.md Add anchors for flag names on docs.podman.io 2020-11-10 15:27:08 +01:00
podman-exec.1.md Add anchors for flag names on docs.podman.io 2020-11-10 15:27:08 +01:00
podman-export.1.md [CI:DOCS] fix misleading save/load usage 2020-11-24 13:48:30 -05:00
podman-generate-kube.1.md Spelling 2020-12-22 13:34:31 -05:00
podman-generate-systemd.1.md Fix spelling mistakes 2020-12-09 06:00:04 -05:00
podman-generate.1.md Update podman-generate-systemd man page 2020-04-16 09:17:27 -04:00
podman-healthcheck-run.1.md Add anchors for flag names on docs.podman.io 2020-11-10 15:27:08 +01:00
podman-healthcheck.1.md Update document formatting and packaging code 2019-10-31 12:31:39 -05:00
podman-history.1.md Add anchors for flag names on docs.podman.io 2020-11-10 15:27:08 +01:00
podman-image-diff.1.md Add anchors for flag names on docs.podman.io 2020-11-10 15:27:08 +01:00
podman-image-exists.1.md Add anchors for flag names on docs.podman.io 2020-11-10 15:27:08 +01:00
podman-image-mount.1.md Add anchors for flag names on docs.podman.io 2020-11-10 15:27:08 +01:00
podman-image-prune.1.md Add --filter to podman system prune 2020-12-09 16:01:13 -05:00
podman-image-sign.1.md Sign multi-arch images 2020-12-11 14:15:56 -05:00
podman-image-tree.1.md Add anchors for flag names on docs.podman.io 2020-11-10 15:27:08 +01:00
podman-image-trust.1.md Maintain consistent order of short and long flag names in docs 2020-11-12 21:46:17 +01:00
podman-image-unmount.1.md Add anchors for flag names on docs.podman.io 2020-11-10 15:27:08 +01:00
podman-image.1.md Add missing pages for docs.podman.io 2020-08-10 19:35:23 -04:00
podman-images.1.md Maintain consistent order of short and long flag names in docs 2020-11-12 21:46:17 +01:00
podman-import.1.md [CI:DOCS] fix misleading save/load usage 2020-11-24 13:48:30 -05:00
podman-info.1.md Add Security information to podman info 2020-12-22 08:13:14 -05:00
podman-init.1.md Add anchors for flag names on docs.podman.io 2020-11-10 15:27:08 +01:00
podman-inspect.1.md Add anchors for flag names on docs.podman.io 2020-11-10 15:27:08 +01:00
podman-kill.1.md add --cidfile to container kill 2020-12-23 12:01:46 -06:00
podman-load.1.md Remove the ability to use [name:tag] in podman load command 2021-01-12 17:38:32 -05:00
podman-login.1.md Add anchors for flag names on docs.podman.io 2020-11-10 15:27:08 +01:00
podman-logout.1.md Add anchors for flag names on docs.podman.io 2020-11-10 15:27:08 +01:00
podman-logs.1.md Maintain consistent order of short and long flag names in docs 2020-11-12 21:46:17 +01:00
podman-manifest-add.1.md Add anchors for flag names on docs.podman.io 2020-11-10 15:27:08 +01:00
podman-manifest-annotate.1.md Add anchors for flag names on docs.podman.io 2020-11-10 15:27:08 +01:00
podman-manifest-create.1.md Add anchors for flag names on docs.podman.io 2020-11-10 15:27:08 +01:00
podman-manifest-inspect.1.md Manifest remove, push 2020-05-06 10:54:28 -04:00
podman-manifest-push.1.md Add anchors for flag names on docs.podman.io 2020-11-10 15:27:08 +01:00
podman-manifest-remove.1.md Manifest remove, push 2020-05-06 10:54:28 -04:00
podman-manifest.1.md Manifest remove, push 2020-05-06 10:54:28 -04:00
podman-mount.1.md Add anchors for flag names on docs.podman.io 2020-11-10 15:27:08 +01:00
podman-network-connect.1.md Fix spelling mistakes 2020-12-09 06:00:04 -05:00
podman-network-create.1.md Add podman network create option for bridge vlan 2020-12-01 22:33:16 +01:00
podman-network-disconnect.1.md Correct which network commands can be run as rootless 2020-12-03 14:43:37 +01:00
podman-network-inspect.1.md Correct which network commands can be run as rootless 2020-12-03 14:43:37 +01:00
podman-network-ls.1.md Correct which network commands can be run as rootless 2020-12-03 14:43:37 +01:00
podman-network-reload.1.md Implement pod-network-reload 2020-12-07 19:26:23 +01:00
podman-network-rm.1.md Add anchors for flag names on docs.podman.io 2020-11-10 15:27:08 +01:00
podman-network.1.md Merge pull request #8571 from Luap99/podman-network-reload 2020-12-08 06:15:40 -05:00
podman-pause.1.md Add anchors for flag names on docs.podman.io 2020-11-10 15:27:08 +01:00
podman-play-kube.1.md Do not pull if image domain is localhost 2020-12-07 17:04:53 -05:00
podman-play.1.md Update document formatting and packaging code 2019-10-31 12:31:39 -05:00
podman-pod-create.1.md Maintain consistent order of short and long flag names in docs 2020-11-12 21:46:17 +01:00
podman-pod-exists.1.md Make man page headings more consistent 2020-10-16 15:06:33 -05:00
podman-pod-inspect.1.md Maintain consistent order of short and long flag names in docs 2020-11-12 21:46:17 +01:00
podman-pod-kill.1.md Add anchors for flag names on docs.podman.io 2020-11-10 15:27:08 +01:00
podman-pod-pause.1.md Add anchors for flag names on docs.podman.io 2020-11-10 15:27:08 +01:00
podman-pod-prune.1.md Add anchors for flag names on docs.podman.io 2020-11-10 15:27:08 +01:00
podman-pod-ps.1.md Add Networks format placeholder to podman ps and pod ps 2021-01-09 19:15:43 +01:00
podman-pod-restart.1.md Add anchors for flag names on docs.podman.io 2020-11-10 15:27:08 +01:00
podman-pod-rm.1.md Add anchors for flag names on docs.podman.io 2020-11-10 15:27:08 +01:00
podman-pod-start.1.md Add anchors for flag names on docs.podman.io 2020-11-10 15:27:08 +01:00
podman-pod-stats.1.md Add 'MemUsageBytes' format option 2021-01-12 23:38:08 +00:00
podman-pod-stop.1.md Add anchors for flag names on docs.podman.io 2020-11-10 15:27:08 +01:00
podman-pod-top.1.md Add anchors for flag names on docs.podman.io 2020-11-10 15:27:08 +01:00
podman-pod-unpause.1.md Add anchors for flag names on docs.podman.io 2020-11-10 15:27:08 +01:00
podman-pod.1.md Remove containers when pruning a stopped pod. 2019-11-26 13:19:31 -05:00
podman-port.1.md Add anchors for flag names on docs.podman.io 2020-11-10 15:27:08 +01:00
podman-ps.1.md Add Networks format placeholder to podman ps and pod ps 2021-01-09 19:15:43 +01:00
podman-pull.1.md Merge pull request #8488 from rhatdan/platform 2020-12-01 21:48:40 +01:00
podman-push.1.md Document docker transport is the only supported remote transport 2020-11-29 06:28:39 -05:00
podman-remote.1.md Add anchors for flag names on docs.podman.io 2020-11-10 15:27:08 +01:00
podman-restart.1.md Maintain consistent order of short and long flag names in docs 2020-11-12 21:46:17 +01:00
podman-rm.1.md Add anchors for flag names on docs.podman.io 2020-11-10 15:27:08 +01:00
podman-rmi.1.md Add anchors for flag names on docs.podman.io 2020-11-10 15:27:08 +01:00
podman-run.1.md Add more information and examples on podman and pipes 2021-01-13 15:08:46 -05:00
podman-save.1.md [CI:DOCS] fix misleading save/load usage 2020-11-24 13:48:30 -05:00
podman-search.1.md Add anchors for flag names on docs.podman.io 2020-11-10 15:27:08 +01:00
podman-start.1.md Add anchors for flag names on docs.podman.io 2020-11-10 15:27:08 +01:00
podman-stats.1.md Add 'MemUsageBytes' format option 2021-01-12 23:38:08 +00:00
podman-stop.1.md Add anchors for flag names on docs.podman.io 2020-11-10 15:27:08 +01:00
podman-system-connection-add.1.md Maintain consistent order of short and long flag names in docs 2020-11-12 21:46:17 +01:00
podman-system-connection-default.1.md [WIP] Refactor podman system connection 2020-07-22 15:25:44 -07:00
podman-system-connection-list.1.md [WIP] Refactor podman system connection 2020-07-22 15:25:44 -07:00
podman-system-connection-remove.1.md [WIP] Refactor podman system connection 2020-07-22 15:25:44 -07:00
podman-system-connection-rename.1.md [WIP] Refactor podman system connection 2020-07-22 15:25:44 -07:00
podman-system-connection.1.md Add missing pages for docs.podman.io 2020-08-10 19:35:23 -04:00
podman-system-df.1.md Maintain consistent order of short and long flag names in docs 2020-11-12 21:46:17 +01:00
podman-system-migrate.1.md Add anchors for flag names on docs.podman.io 2020-11-10 15:27:08 +01:00
podman-system-prune.1.md Add --filter to podman system prune 2020-12-09 16:01:13 -05:00
podman-system-renumber.1.md Switch references from libpod.conf to containers.conf 2020-07-20 15:09:54 -04:00
podman-system-reset.1.md Add anchors for flag names on docs.podman.io 2020-11-10 15:27:08 +01:00
podman-system-service.1.md Spelling 2020-12-22 13:34:31 -05:00
podman-system.1.md Repeat system pruning until there is nothing removed 2020-12-09 06:17:28 -05:00
podman-tag.1.md Add anchors for flag names on docs.podman.io 2020-11-10 15:27:08 +01:00
podman-top.1.md clarify ps(1) fallback of `podman top` 2020-11-23 10:35:52 +01:00
podman-unmount.1.md Add anchors for flag names on docs.podman.io 2020-11-10 15:27:08 +01:00
podman-unpause.1.md Add anchors for flag names on docs.podman.io 2020-11-10 15:27:08 +01:00
podman-unshare.1.md Docs: consistency between man / --help 2020-06-24 10:39:10 -06:00
podman-untag.1.md Add anchors for flag names on docs.podman.io 2020-11-10 15:27:08 +01:00
podman-version.1.md Add anchors for flag names on docs.podman.io 2020-11-10 15:27:08 +01:00
podman-volume-create.1.md Initial implementation of volume plugins 2021-01-14 15:35:33 -05:00
podman-volume-inspect.1.md Maintain consistent order of short and long flag names in docs 2020-11-12 21:46:17 +01:00
podman-volume-ls.1.md Add support for volume ls --filter label=key=value 2020-11-14 20:18:52 +01:00
podman-volume-prune.1.md Add volume prune --filter support 2020-12-12 20:07:04 -06:00
podman-volume-rm.1.md Maintain consistent order of short and long flag names in docs 2020-11-12 21:46:17 +01:00
podman-volume.1.md Update document formatting and packaging code 2019-10-31 12:31:39 -05:00
podman-wait.1.md Add anchors for flag names on docs.podman.io 2020-11-10 15:27:08 +01:00
podman.1.md Switch references of /var/run -> /run 2021-01-07 05:37:24 -05:00