mirror of
https://github.com/containers/podman.git
synced 2025-05-20 00:27:03 +08:00

When creating a new image volume to be mounted into a container, we need to make sure the new volume matches the Ownership and permissions of the path that it will be mounted on. For example if a volume inside of a containre image is owned by the database UID, we want the volume to be mounted onto the image to be owned by the database UID. Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
42 lines
866 B
Go
42 lines
866 B
Go
// +build !linux
|
|
|
|
package libpod
|
|
|
|
import (
|
|
"context"
|
|
|
|
spec "github.com/opencontainers/runtime-spec/specs-go"
|
|
)
|
|
|
|
func (c *Container) mountSHM(shmOptions string) error {
|
|
return ErrNotImplemented
|
|
}
|
|
|
|
func (c *Container) unmountSHM(mount string) error {
|
|
return ErrNotImplemented
|
|
}
|
|
|
|
func (c *Container) prepare() (err error) {
|
|
return ErrNotImplemented
|
|
}
|
|
|
|
func (c *Container) cleanupNetwork() error {
|
|
return ErrNotImplemented
|
|
}
|
|
|
|
func (c *Container) generateSpec(ctx context.Context) (*spec.Spec, error) {
|
|
return nil, ErrNotImplemented
|
|
}
|
|
|
|
func (c *Container) checkpoint(ctx context.Context, options ContainerCheckpointOptions) error {
|
|
return ErrNotImplemented
|
|
}
|
|
|
|
func (c *Container) restore(ctx context.Context, options ContainerCheckpointOptions) error {
|
|
return ErrNotImplemented
|
|
}
|
|
|
|
func (c *Container) copyOwnerAndPerms(source, dest string) error {
|
|
return nil
|
|
}
|