diff options
Diffstat (limited to 'libpod/container_internal.go')
-rw-r--r-- | libpod/container_internal.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libpod/container_internal.go b/libpod/container_internal.go index 1c6143cd2..79bc49c37 100644 --- a/libpod/container_internal.go +++ b/libpod/container_internal.go @@ -1295,6 +1295,10 @@ func (c *Container) mount() (string, error) { if err != nil { return "", errors.Wrapf(err, "error mounting storage for container %s", c.ID()) } + mountPoint, err = filepath.EvalSymlinks(mountPoint) + if err != nil { + return "", errors.Wrapf(err, "error resolving storage path for container %s", c.ID()) + } return mountPoint, nil } |