-
Notifications
You must be signed in to change notification settings - Fork 241
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This commit adds file sharing support to `crc start`. This uses the GetSharedDirs API from libmachine, and only supports virtiofs for now. File sharing is meant to be used together for podman support to support `podman-remote -v somedir:/some-dir-in-container registry.example.com/container-image` This is currently implemented similarly to what podman does: $HOME is shared with the VM and mounted at the $HOME mountpoint. This way one can use podman-remote $HOME/hostdir on the host, and the podman instance running in the VM can also access $HOME/hostdir which is mounted in the VM, and share it with the container. We currently need to hardcode a selinux context on $HOME mounted in the VM, mainly to overcome limitations in the macOS virtiofs implementation which vfkit uses. This fixes #3204
- Loading branch information
Showing
3 changed files
with
56 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters