Skip to content
This repository was archived by the owner on May 12, 2021. It is now read-only.
This repository was archived by the owner on May 12, 2021. It is now read-only.

mount blockdevices in the guest VM #406

@zklei

Description

@zklei

Description of problem

When we use docker run -v /dev/sdb:/mnt/data to run a container, It will passing /dev/sdb/ through as blockdevice /mnt/data.

Expected result

Usually, What we want is to mount the block device as a directory in container, Or we're going to choose --device to pass this blockdevice.

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