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)
- `limactl copy` should use `rsync` instead of `scp` for copying a directory HOT 3
- Avoid using sudo in makeVarRun()
- Make setting AcceptEnv more robust HOT 4
- COLORTERM not imported into Ubuntu instance HOT 1
- guestagent over grpc broken with WSL2 HOT 4
- v0.21 planning HOT 2
- Getting some warnings when shutting down an instance using grpc HOT 4
- Passthrough of netplan from template `networks` config to VM
- lima start "error reading server preface: http2: frame too large" HOT 7
- Lost files on host when canceling limactl start HOT 8
- USB passthrough rabbit hole HOT 7
- Customizable image location property HOT 4
- Guest agent sometimes becomes unavailable from the host HOT 4
- alpine, virtiofs: `/etc/fstab` contains `timezone: Asia/Tokyo` HOT 6
- v0.20.2 planning HOT 1
- `limactl create` miss `--timeout` flag HOT 1
- mount host directories with given user permissions HOT 6
- Default instance with a launchagent created by `start-at-login` isn't available after startup HOT 5
- Allow disabling automatic fallback to 8.8.8.8 and 1.1.1.1
- Unable to access K3s cluster from Host system (MacOS, M1) from Lima VM. (`x509: certificate signed by unknown authority`) HOT 3
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.