Skip to content
This repository has been archived by the owner on Feb 8, 2021. It is now read-only.

Volume multi-mount support #329

Merged
merged 2 commits into from
Sep 18, 2016
Merged

Volume multi-mount support #329

merged 2 commits into from
Sep 18, 2016

Conversation

bergwolf
Copy link
Member

Change runv to allow a volume to be mounted to different mountpoints in a pod.

Signed-off-by: Peng Tao <bergwolf@gmail.com>
make volume mountpoint in a container a slice so that we can
save multiple mountpoints to it rather than assuming there is
only one mountpoint of same device in a container.

Do the same to volume readOnly field.

With both above, we create multiple entries in a container's fsmap
when a volume is mounted at different mountpoints.

Signed-off-by: Peng Tao <bergwolf@gmail.com>
@laijs laijs merged commit 767bcc9 into hyperhq:master Sep 18, 2016
@gnawux gnawux mentioned this pull request Nov 17, 2016
@bergwolf bergwolf deleted the multi_mount branch March 23, 2017 06:04
harche pushed a commit to harche/runv that referenced this pull request Nov 28, 2017
Setup /dev/shm for the initial namespace
jimoosciuc pushed a commit to jimoosciuc/runv that referenced this pull request May 26, 2020
# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants