Comments (4)
Any hints of making single file mounts work with sshfs? And if not, will those be possible with samba?
Unlikely.
The straightforward way would be to just mount the directory of the file from macOS to Linux, and set up Linux bind-mount inside the guest.
from lima.
For small files like certificates, I'd suggest just copying the file rather than mounting.
from lima.
The certificate injection use case must be quite common. It would be great if a workable solution could be found to programmatically add certificates on start. nerdctl has a number of issue related to this:
containerd/nerdctl#427
containerd/nerdctl#278
containerd/nerdctl#363
Adding the below to the lima.yml has two issues:
mounts:
- location: "/usr/local/share/ca-certificates"
writable: false
provision:
- mode: system
script: |
#!/bin/bash
update-ca-certificates
- provisioning commands (update-ca-certificates) seem to execute before the mounts.
- mounts don't seem overwrite existing lima VM directories and /usr/local/share/ca-certificates exists in most OSs.
from lima.
- provisioning commands (update-ca-certificates) seem to execute before the mounts.
This is #287
2. mounts don't seem overwrite existing lima VM directories and /usr/local/share/ca-certificates exists in most OSs.
I talked in #397 (comment) about wanting a mechanism to specify a different mount point inside the guest. Maybe that should have it's own top-level issue.
I guess all this is also somewhat stalled because we are not sure if we are going to stick with sshfs
, or if we will switch to some other mechanism to share files. But I guess the basic requirements for 1. and 2. are independent of that.
from lima.
Related Issues (20)
- The QEMU-based VM registered with `limactl start-at-login` in `launchd` does not start. HOT 1
- chmod failed when `mountInotify` is enabled HOT 1
- chmod failed when `mountInotify` is enabled HOT 5
- lima examples missing image HOT 1
- [hostagent] Driver stopped due to error: \"usernet unable to resolve IP for SSH forwarding\"
- Provide standard values "default" and "none" for most options HOT 1
- Cross-compiler for building "darwin" target HOT 5
- Failed to start VM when I want to modify PATH env var from env section in yaml template HOT 1
- Error: msg="did not receive an event with the \"running\" status" HOT 2
- Lima VM will randomly lose network connectivity HOT 5
- Call `limadriver.Validate` as part of `limayaml.Validate` HOT 2
- v0.23.0 planning HOT 4
- Inconsistent {{.Home}} and {{.User}} values between guest and host templates HOT 2
- Bound ports are not released immediately when container is stopped/deleted HOT 10
- Figure out why archlinux CI is broken HOT 2
- nerdctl start fails 2 of 3 times with bridge errors HOT 2
- Dependabot wasn't able to update downloading
- cross-vm network connectivity issue when using socket_vmnet
- Lima fails to install on fedora 40 using homebrew HOT 1
- docker build using colima with lima v0.23.1 hangs
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lima.