Skip to content

Commit 53cd475

Browse files
authored
Merge pull request #705 from AkihiroSuda/follow-up-700
README.md: nits; sync README.ja.md
2 parents 7c520fa + 19c0f66 commit 53cd475

File tree

2 files changed

+52
-6
lines changed

2 files changed

+52
-6
lines changed

README.ja.md

Lines changed: 47 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
This is an *unofficial* translation of [`README.md` (revision 4c7376a, 2022-Feb-05)](https://github.com/lima-vm/lima/blob/4c7376a9a7ac54514611a39ea720eb9798bfe973/README.md).
1+
This is an *unofficial* translation of [`README.md` (revision 616cd115, 2022-Mar-09)](https://github.com/lima-vm/lima/blob/616cd11589b01eb17366419c88db0cfd5c76acb1/README.md).
22

33
[[📖**始める**]](#始める)
44
[[**FAQとトラブルシューティング]**](#FAQとトラブルシューティング)
@@ -25,7 +25,7 @@ LimaはmacOSホストで使用されることを想定していますが、Linux
2525

2626
[ARMマシン上でのIntel仮想マシン](./docs/multi-arch.md)
2727

28-
✅ 様々なゲストLinuxディストリビューション: [AlmaLinux](./examples/almalinux.yaml), [Alpine](./examples/alpine.yaml),[Arch Linux](./examples/archlinux.yaml), [Debian](./examples/debian.yaml),[Fedora](./examples/fedora.yaml), [openSUSE](./examples/opensuse.yaml),[Rocky](./examples/rocky.yaml), [Ubuntu](./examples/ubuntu.yaml) (デフォルト), ...
28+
✅ 様々なゲストLinuxディストリビューション: [AlmaLinux](./examples/almalinux.yaml), [Alpine](./examples/alpine.yaml),[Arch Linux](./examples/archlinux.yaml), [Debian](./examples/debian.yaml),[Fedora](./examples/fedora.yaml), [openSUSE](./examples/opensuse.yaml), [Oracle Linux](./examples/oraclelinux.yaml), [Rocky](./examples/rocky.yaml), [Ubuntu](./examples/ubuntu.yaml) (デフォルト), ...
2929

3030
関連するプロジェクト: [sshocker (ファイル共有とポートフォワードがついたSSH)](https://github.com/lima-vm/sshocker)
3131

@@ -229,6 +229,9 @@ Limaにはデータの喪失を引き起こすバグが含まれているかも
229229
- [`limactl cp`コマンドで"Permission denied"](#limactl-cp%E3%82%B3%E3%83%9E%E3%83%B3%E3%83%89%E3%81%A7permission-denied)
230230
- [ネットワーク](#%E3%83%8D%E3%83%83%E3%83%88%E3%83%AF%E3%83%BC%E3%82%AF)
231231
- ["ホストからゲストのIP 192.168.5.15にアクセスできない"](#%E3%83%9B%E3%82%B9%E3%83%88%E3%81%8B%E3%82%89%E3%82%B2%E3%82%B9%E3%83%88%E3%81%AEip-192168515%E3%81%AB%E3%82%A2%E3%82%AF%E3%82%BB%E3%82%B9%E3%81%A7%E3%81%8D%E3%81%AA%E3%81%84)
232+
- [Pingのパケットが重複してたり応答が極めて遅かったりする](#ping%E3%81%AE%E3%83%91%E3%82%B1%E3%83%83%E3%83%88%E3%81%8C%E9%87%8D%E8%A4%87%E3%81%97%E3%81%A6%E3%81%9F%E3%82%8A%E5%BF%9C%E7%AD%94%E3%81%8C%E6%A5%B5%E3%82%81%E3%81%A6%E9%81%85%E3%81%8B%E3%81%A3%E3%81%9F%E3%82%8A%E3%81%99%E3%82%8B)
233+
- [外部プロジェクト](#%E5%A4%96%E9%83%A8%E3%83%97%E3%83%AD%E3%82%B8%E3%82%A7%E3%82%AF%E3%83%88)
234+
- ["Rancher Desktopを使っています。内蔵されているLimaを弄るにはどうすればよいですか。"](#rancher-desktop%E3%82%92%E4%BD%BF%E3%81%A3%E3%81%A6%E3%81%84%E3%81%BE%E3%81%99%E5%86%85%E8%94%B5%E3%81%95%E3%82%8C%E3%81%A6%E3%81%84%E3%82%8Blima%E3%82%92%E5%BC%84%E3%82%8B%E3%81%AB%E3%81%AF%E3%81%A9%E3%81%86%E3%81%99%E3%82%8C%E3%81%B0%E3%82%88%E3%81%84%E3%81%A7%E3%81%99%E3%81%8B)
232235
- ["ほかの問題をデバッグするためのヒントは?"](#%E3%81%BB%E3%81%8B%E3%81%AE%E5%95%8F%E9%A1%8C%E3%82%92%E3%83%87%E3%83%90%E3%83%83%E3%82%B0%E3%81%99%E3%82%8B%E3%81%9F%E3%82%81%E3%81%AE%E3%83%92%E3%83%B3%E3%83%88%E3%81%AF)
233236

234237
<!-- END doctoc generated TOC please keep comment here to allow auto update -->
@@ -242,7 +245,7 @@ Limaにはデータの喪失を引き起こすバグが含まれているかも
242245
はい。動くでしょう。ただ、ARM Macでの定期的なテストはなされていません(CIがないため)。
243246

244247
#### "Ubuntu以外のゲストを動かすことはできますか?"
245-
AlmaLinux, Alpine, Arch Linux, Debian, Fedora, openSUSE, Rocky が動くことが知られています。[`./examples/`](./examples/)を見てください。
248+
AlmaLinux, Alpine, Arch Linux, Debian, Fedora, openSUSE, Oracle Linux, Rocky が動くことが知られています。[`./examples/`](./examples/)を見てください。
246249

247250
イメージは次の要件を満たす必要があります。
248251
- systemdまたはOpenRC
@@ -264,6 +267,9 @@ AlmaLinux, Alpine, Arch Linux, Debian, Fedora, openSUSE, Rocky が動くこと
264267
- [`./examples/podman.yaml`](./examples/podman.yaml): Podman
265268
- [`./examples/singularity.yaml`](./examples/singularity.yaml): Singularity
266269

270+
コンテナイメージビルダの例:
271+
- [`./examples/buildkit.yaml`](./examples/buildkit.yaml): BuildKit
272+
267273
コンテナオーケストレータの例:
268274
- [`./examples/k3s.yaml`](./examples/k3s.yaml): Kubernetes (k3s)
269275
- [`./examples/k8s.yaml`](./examples/k8s.yaml): Kubernetes (kubeadm)
@@ -359,6 +365,44 @@ QEMUが使うlibslirp v4.6.0 は[壊れている](https://gitlab.freedesktop.org
359365

360366
[`./docs/network.md`](./docs/network.md)を参照してください。
361367

368+
#### Pingのパケットが重複してたり応答が極めて遅かったりする
369+
370+
LimaはQEMUのSLIRPネットワークを使うので`ping`はそのままでは動きません:
371+
372+
```
373+
$ ping google.com
374+
PING google.com (172.217.165.14): 56 data bytes
375+
64 bytes from 172.217.165.14: seq=0 ttl=42 time=2395159.646 ms
376+
64 bytes from 172.217.165.14: seq=0 ttl=42 time=2396160.798 ms (DUP!)
377+
```
378+
379+
詳しくは, [Documentation/Networking](https://wiki.qemu.org/Documentation/Networking#User_Networking_.28SLIRP.29)をご覧ください。
380+
381+
### 外部プロジェクト
382+
#### "Rancher Desktopを使っています。内蔵されているLimaを弄るにはどうすればよいですか。"
383+
384+
macOSホストでは, Rancher Desktop (v1.0現在)はLimaを以下の設定で起動します:
385+
386+
- `$LIMA_HOME` ディレクトリ: `$HOME/Library/Application Support/rancher-desktop/lima`
387+
- `limactl` バイナリ: `/Applications/Rancher Desktop.app/Contents/Resources/resources/darwin/lima/bin/limactl`
388+
- Lima インスタンス名: `0`
389+
390+
シェルを開くには、次のコマンドを実行します:
391+
392+
```shell
393+
LIMA_HOME="$HOME/Library/Application Support/rancher-desktop/lima" "/Applications/Rancher Desktop.app/Contents/Resources/resources/darwin/lima/bin/limactl" shell 0
394+
```
395+
396+
Linuxホストでは次のコマンドを試してみてください:
397+
```shell
398+
LIMA_HOME="$HOME/.local/share/rancher-desktop/lima" /opt/rancher-desktop/resources/resources/linux/lima/bin/limactl shell 0
399+
```
400+
401+
Rancher DesktopをAppImageとしてインストールした場合は:
402+
```shell
403+
LIMA_HOME="$HOME/.local/share/rancher-desktop/lima" "$(ls -d /tmp/.mount_ranche*/opt/rancher-desktop/resources/resources/linux/lima/bin)/limactl" shell 0
404+
```
405+
362406
### "ほかの問題をデバッグするためのヒントは?"
363407
- ログを調査する:
364408
- `limactl --debug start`

README.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1+
Translations: [日本語(Japanese)](README.ja.md)
2+
13
[[📖**Getting started**]](#getting-started)
24
[[**FAQs & Troubleshooting]**](#faqs--troubleshooting)
3-
[[🇯🇵**日本語README**]](./README.ja.md)
45

56
# Lima: Linux virtual machines (on macOS, in most cases)
67

@@ -24,7 +25,7 @@ Lima is expected to be used on macOS hosts, but can be used on Linux hosts as we
2425

2526
[Intel on ARM](./docs/multi-arch.md)
2627

27-
✅ Various guest Linux distributions: [AlmaLinux](./examples/almalinux.yaml), [Alpine](./examples/alpine.yaml), [Arch Linux](./examples/archlinux.yaml), [Debian](./examples/debian.yaml), [Fedora](./examples/fedora.yaml), [openSUSE](./examples/opensuse.yaml), [Rocky](./examples/rocky.yaml), [Ubuntu](./examples/ubuntu.yaml) (default), ...
28+
✅ Various guest Linux distributions: [AlmaLinux](./examples/almalinux.yaml), [Alpine](./examples/alpine.yaml), [Arch Linux](./examples/archlinux.yaml), [Debian](./examples/debian.yaml), [Fedora](./examples/fedora.yaml), [openSUSE](./examples/opensuse.yaml), [Oracle Linux](./examples/oraclelinux.yaml), [Rocky](./examples/rocky.yaml), [Ubuntu](./examples/ubuntu.yaml) (default), ...
2829

2930
Related project: [sshocker (ssh with file sharing and port forwarding)](https://github.com/lima-vm/sshocker)
3031

@@ -234,6 +235,7 @@ The current default spec:
234235
- ["permission denied" for `limactl cp` command](#permission-denied-for-limactl-cp-command)
235236
- [Networking](#networking)
236237
- ["Cannot access the guest IP 192.168.5.15 from the host"](#cannot-access-the-guest-ip-192168515-from-the-host)
238+
- [Ping shows duplicate packets and massive response times](#ping-shows-duplicate-packets-and-massive-response-times)
237239
- [External projects](#external-projects)
238240
- ["I am using Rancher Desktop. How to deal with the underlying Lima?"](#i-am-using-rancher-desktop-how-to-deal-with-the-underlying-lima)
239241
- ["Hints for debugging other problems?"](#hints-for-debugging-other-problems)
@@ -250,7 +252,7 @@ Alternatively, you may also directly ssh into the guest: `ssh -p 60022 -i ~/.lim
250252
Yes, it should work, but not regularly tested on ARM (due to lack of CI).
251253

252254
#### "Can I run non-Ubuntu guests?"
253-
AlmaLinux, Alpine, Arch Linux, Debian, Fedora, openSUSE, and Rocky are also known to work.
255+
AlmaLinux, Alpine, Arch Linux, Debian, Fedora, openSUSE, Oracle Linux, and Rocky are also known to work.
254256
See [`./examples/`](./examples/).
255257

256258
An image has to satisfy the following requirements:

0 commit comments

Comments
 (0)