Skip to content

add some doc for linux #3317

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed

Conversation

ningmingxiao
Copy link

@ningmingxiao ningmingxiao commented Mar 7, 2025

I'm new user of lima, It's a very cool project.I used to think it could only be used on macOS .
I update the read me let user know it can run on linux and can create vm by using qemu

@ningmingxiao ningmingxiao force-pushed the doc branch 2 times, most recently from 6dffd77 to ae43cf4 Compare March 7, 2025 16:53
@afbjorklund
Copy link
Member

This has moved to the website: https://lima-vm.io/docs/installation/
Though one might add a one-liner or so, saying to install from binaries?

@afbjorklund
Copy link
Member

afbjorklund commented Mar 7, 2025

All of the other parameters are probably better off with the defaults?
In particular, we want to use template://default and not template://fedora

Copy link
Member

@afbjorklund afbjorklund left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think we want to duplicate all of that (jq/curl/tar) in the README.

But a line or two on how to install on Linux (link to releases), could be nice.

Signed-off-by: ningmingxiao <[email protected]>
@ningmingxiao
Copy link
Author

done @afbjorklund

--cpus=1 \
--memory=1 \
--vm-type=qemu \
--rosetta \
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can't do this

--memory=1 \
--vm-type=qemu \
--rosetta \
--mount-type=virtiofs \
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can't do this on macOS, and typically needs a custom virtiofsd on Linux

template://default
```

To run vm on macos use vz:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is the default

@AkihiroSuda
Copy link
Member

This seems redundant. The usage is documented in https://lima-vm.io , and it is linked from README.md

@AkihiroSuda AkihiroSuda closed this Mar 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants