You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+6-27Lines changed: 6 additions & 27 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -23,7 +23,7 @@ Lima is expected to be used on macOS hosts, but can be used on Linux hosts as we
23
23
24
24
✅ Intel on ARM
25
25
26
-
✅ Various guest Linux distributions: [Ubuntu](./examples/ubuntu.yaml), [Debian](./examples/debian.yaml), [Fedora](./examples/fedora.yaml), [Alpine](./examples/alpine.yaml), [Arch Linux](./examples/archlinux.yaml)...
26
+
✅ Various guest Linux distributions: [Ubuntu](./examples/ubuntu.yaml), [Debian](./examples/debian.yaml), [Fedora](./examples/fedora.yaml), [Alpine](./examples/alpine.yaml), [Arch Linux](./examples/archlinux.yaml), [openSUSE](./examples/opensuse.yaml)...
27
27
28
28
Related project: [sshocker (ssh with file sharing and port forwarding)](https://github.com/AkihiroSuda/sshocker)
29
29
@@ -123,6 +123,8 @@ Detailed usage:
123
123
For the "default" instance, this command can be shortened as `lima <COMMAND>`.
124
124
The `lima` command also accepts the instance name as the environment variable `$LIMA_INSTANCE`.
125
125
126
+
- Run `limactl copy <SOURCE> ... <TARGET>` to copy files between instances, or between instances and the host. Use `<INSTANCE>:<FILENAME>` to specify a source or target inside an instance.
127
+
126
128
- Run `limactl list [--json]` to show the instances.
127
129
128
130
- Run `limactl stop [--force] <INSTANCE>` to stop the instance.
@@ -199,9 +201,6 @@ The current default spec:
199
201
-[SSH](#ssh)
200
202
-["Port forwarding does not work"](#port-forwarding-does-not-work)
201
203
-[stuck on "Waiting for the essential requirement 1 of X: "ssh"](#stuck-on-waiting-for-the-essential-requirement-1-of-x-ssh)
202
-
-[error "field SSHPubKeys must be set"](#error-field-sshpubkeys-must-be-set)
203
-
-[error "hostkeys_foreach failed: No such file or directory"](#error-hostkeys_foreach-failed-no-such-file-or-directory)
204
-
-[error "failed to execute script ssh: [...] Permission denied (publickey)"](#error-failed-to-execute-script-ssh--permission-denied-publickey)
205
204
-["Hints for debugging other problems?"](#hints-for-debugging-other-problems)
206
205
207
206
<!-- END doctoc generated TOC please keep comment here to allow auto update -->
@@ -210,13 +209,13 @@ The current default spec:
210
209
Password is disabled and locked by default.
211
210
You have to use `limactl shell bash` (or `lima bash`) to open a shell.
212
211
213
-
Alternatively, you may also directly ssh into the guest: `ssh -p 60022 -o NoHostAuthenticationForLocalhost=yes 127.0.0.1`.
212
+
Alternatively, you may also directly ssh into the guest: `ssh -p 60022 -i ~/.lima/_config/user -o NoHostAuthenticationForLocalhost=yes 127.0.0.1`.
214
213
215
214
#### "Does Lima work on ARM Mac?"
216
215
Yes, it should work, but not regularly tested on ARM.
217
216
218
217
#### "Can I run non-Ubuntu guests?"
219
-
Debian, Fedora, Alpine, and Arch Linux are also known to work.
218
+
Debian, Fedora, Alpine, Arch Linux, and openSUSE are also known to work.
220
219
See [`./examples/`](./examples/).
221
220
222
221
An image has to satisfy the following requirements:
@@ -227,7 +226,7 @@ An image has to satisfy the following requirements:
227
226
- The following binaries to be preinstalled, or installable via the package manager:
228
227
-`sshfs`
229
228
-`newuidmap` and `newgidmap`
230
-
-`apt-get`, `dnf`, `apk`, or `pacman` (if you want to contribute support for another package manager, run `git grep apt-get` to find out where to modify)
229
+
-`apt-get`, `dnf`, `apk`, `pacman`, or `zypper` (if you want to contribute support for another package manager, run `git grep apt-get` to find out where to modify)
231
230
232
231
#### "Can I run other container engines such as Podman?"
233
232
Yes, if you install it.
@@ -296,26 +295,6 @@ Privileged ports (1-1023) cannot be forwarded. e.g., you have to use 8080, not 8
296
295
libslirp v4.6.0 used by QEMU is known to be [broken](https://gitlab.freedesktop.org/slirp/libslirp/-/issues/48).
297
296
If you have libslirp v4.6.0 in `/usr/local/Cellar/libslirp`, you have to upgrade it to v4.6.1 or later (`brew upgrade`).
298
297
299
-
#### error "field SSHPubKeys must be set"
300
-
301
-
Make sure you have a ssh keypair in `~/.ssh`. To create:
0 commit comments