mirror of
https://github.com/containers/podman.git
synced 2025-08-06 19:44:14 +08:00
container: resolve workdir after all the mounts happen.
There are use-cases where users would want to use overlay-mounts as workdir. For such cases workdir should be resolved after all the mounts are completed during the container init process. Signed-off-by: Aditya Rajan <arajan@redhat.com>
This commit is contained in:
@ -176,11 +176,6 @@ func (c *Container) prepare() error {
|
||||
return err
|
||||
}
|
||||
|
||||
// Make sure the workdir exists
|
||||
if err := c.resolveWorkDir(); err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
return nil
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user