summaryrefslogtreecommitdiff
path: root/libpod/container_internal.go
diff options
context:
space:
mode:
authorDaniel J Walsh <dwalsh@redhat.com>2021-12-22 15:07:37 -0500
committerDaniel J Walsh <dwalsh@redhat.com>2022-01-04 13:48:03 -0500
commit2e0d3e9ea45f9ebb77ffe1f9022b46f0e429fb5e (patch)
tree54d1993a8873396bbf41d24b5c7235f6195ba166 /libpod/container_internal.go
parent47cf00eb1349e7823b2c4286e39a517ea4657242 (diff)
downloadpodman-2e0d3e9ea45f9ebb77ffe1f9022b46f0e429fb5e.tar.gz
podman-2e0d3e9ea45f9ebb77ffe1f9022b46f0e429fb5e.tar.bz2
podman-2e0d3e9ea45f9ebb77ffe1f9022b46f0e429fb5e.zip
Support all volume mounts for rootless containers
Fix handling of "bind" and "tmpfs" olumes to actually work. Allow bind, tmpfs local volumes to work in rootless mode. Also removed the string "error" from all error messages that begine with it. All Podman commands are printed with Error:, so this causes an ugly stutter. Fixes: https://github.com/containers/podman/issues/12013 Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
Diffstat (limited to 'libpod/container_internal.go')
-rw-r--r--libpod/container_internal.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/libpod/container_internal.go b/libpod/container_internal.go
index 7ae9daefa..2d12a90d1 100644
--- a/libpod/container_internal.go
+++ b/libpod/container_internal.go
@@ -762,7 +762,7 @@ func (c *Container) export(path string) error {
if !c.state.Mounted {
containerMount, err := c.runtime.store.Mount(c.ID(), c.config.MountLabel)
if err != nil {
- return errors.Wrapf(err, "error mounting container %q", c.ID())
+ return errors.Wrapf(err, "mounting container %q", c.ID())
}
mountPoint = containerMount
defer func() {