Skip to content

Add WithVolume helper in client. #1482

@Random-Liu

Description

@Random-Liu

Volumes in image spec is not defined very clearly, but I think the expected behavior will be similar with Docker image volume.

Docker image volume copy content from container rootfs into the host volume, and mount it back to the rootfs.

I could send a PR for this, but I'm not sure whether we want to Mount and Unmount rootfs again for this, since we've already been doing that in WithUsername and WithUserID.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions