Commit Graph

33 Commits (db08552f10366702429ad7d7a37a942affb7ee8b)

Author SHA1 Message Date
Akihiro Suda 140e3e2057
rootless: recommend containerd over cri-o
containerd seems more stable for rootless

Workaround for issue 14400

Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2022-06-30 12:47:22 +09:00
Akihiro Suda 92ab555928
Support rootless Podman driver, take 2
Usage:
```
minikube config set rootless true
minikube start --driver=podman --container-runtime=(cri-o|containerd)`
```

Tested on Podman 4.0.2, Ubuntu 21.10.

Needs cgroup v2 (as in Rootless Docker): https://rootlesscontaine.rs/getting-started/common/cgroup2/
See also `site/content/en/docs/drivers/includes/podman_usage.inc`

Fix issue 8719
Fix issue 12460
Replace PR 12901

Changes from PR 12901: `rootless` is now a config property.
In the previous PR, `--rootless` was implemented as a flag for `minikube start`

Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2022-04-05 18:49:40 +09:00
Medya Ghazizadeh 23841c4385
Merge pull request #13828 from AkihiroSuda/drop-fuse-overlayfs
KIC rootless: drop fuse-overlayfs; bump kernel requirement to 5.11
2022-03-25 11:57:11 -07:00
Steven Powell 4f6747b1b2 implemented minimum and recommended Docker versions 2022-03-23 15:16:29 -07:00
Akihiro Suda 7204b1db3e
KIC rootless: drop fuse-overlayfs; bump kernel requirement to 5.11
minikube 1.23 (PR 12359) added fuse-overlayfs snapshotter for rootless Docker driver,
but got broken in minikube 1.25 (issue 13534).

We can drop fuse-overlayfs for kernel >= 5.11.

Fix issue 13534

We may add back fuse-overlayfs later if there is a huge demand to
support kernel < 5.11.
That will require packing preloadable tarballs for fuse-overlayfs
snapshotter.

Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2022-03-22 18:08:14 +09:00
Sahan Serasinghe 71a41d00d0 Remove additional line break 2022-02-03 09:32:23 +10:30
Steven Powell 39c89f364d make tab for rootless docker 2022-01-19 09:33:12 -08:00
Steven Powell 099c61f42d add docs for setting up WSL 2 & Docker 2022-01-13 10:14:32 -08:00
Akihiro Suda 323225483e
Support Rootless Docker
Requirements:
- Install rootless Docker 20.10 or later, see https://rootlesscontaine.rs/getting-started/docker/
- Enable cgroup v2 delegation, see https://rootlesscontaine.rs/getting-started/common/cgroup2/

Usage: `minikube start --driver=docker --container-runtime=containerd`.
The `--container-runtime` flag needs to be set to "containerd".
CRI-O can be also supported later.

Closes issue 10836 ("add support for rootless Docker").

Support for rootless Podman (issue 8719) is not covered in this commit.

---

Code reading guide:
- `deploy/kicbase/Dockerfile`: updated to install fuse-overlayfs and containerd-fuse-overlayfs, which is used
  instead of `overlayfs` snapshotter

- `deploy/kicbase/entrypoint`: updated to verify cgroup v2 delegation.
  Mostly from 8a83ee46b2/images/base/files/usr/local/bin/entrypoint

- `cmd/minikube/cmd/start_flags.go`: updated to set `KubeletInUserNamespace` feature gate when rootless

- `pkg/drivers/kic/oci`: updated to use port forwarding, because rootless container IPs are not reachable from the host

- `pkg/minikube/cruntime`: updated to generate `/etc/containerd/config.toml` with rootless support.

Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2021-08-27 17:21:53 +09:00
Ilya Zuyev 4ca56afb03 site: update building instructions and known issues related to arm64 2021-02-01 16:56:50 -08:00
Anders F Björklund ebf37ad15f Fix whitespace issues in the site content markdown
Courtesy of markdownlint, but nothing to show on:

 git show --ignore-all-space --ignore-blank-lines

Ignore generated commands, with trailing whitespace.
Those need to be fixed in "generate-docs" instead...
2020-12-05 10:08:32 +01:00
Ben Leggett 48b4db838d
Review comment 2020-11-12 10:58:34 -05:00
Ben Leggett e42bb2a235
Bug #9607 - No support for userns and rootless 2020-11-09 14:31:24 -05:00
Chris Paika 8f79cd21fe Removing stale information from tthe documentation 2020-08-08 10:08:38 -04:00
Medya Gh 6606548ef1 fix cross ref link 2020-05-11 16:01:34 -07:00
Medya Gh 364e48c637 try link with _index 2020-05-11 15:57:28 -07:00
Medya Gh 88e72ca91d fix broken docs link 2020-05-11 15:53:11 -07:00
Medya Gh 24971a5ff5 docker/podman fail on non-amd64 systems 2020-05-08 19:56:38 -07:00
Medya Gh d887259153 add to registry 2020-05-02 20:19:17 -07:00
Medya Gh e5c8592fdd spell docs 2020-05-02 19:58:19 -07:00
Medya Gh 7cf9da3d72 add docs about container type 2020-05-02 19:57:19 -07:00
Kenta Iso 2c81c21e57 fix apparmor trobleshooting to add original issue track 2020-04-18 21:45:03 +09:00
Kenta Iso b5b73e43c3 fix command layout 2020-04-18 20:09:33 +09:00
Kenta Iso a6b61a86a5 add how to disbale apparmor for mysql profile for linux user 2020-04-18 20:09:33 +09:00
Alonyb 59e9c834b9 fix registry addon template 2020-04-16 17:58:36 -05:00
Ruben Baez a34ada808a
add regisrtry_addon_mac_windows_usage.inc 2020-04-11 02:49:03 -05:00
Ruben Baez bd5fd8160d
Update docker.md 2020-04-11 01:32:56 -05:00
Ruben Baez 3d6b94503c
Merge pull request #5 from alonyb/change-documentation
Update docker.md
2020-04-10 20:14:54 -05:00
Ruben Baez a9e87bd8a3
Update docker.md 2020-04-10 20:14:32 -05:00
Ruben Baez e63627252d
Update docker.md 2020-04-10 20:09:12 -05:00
Medya Gh 794d78a788 document registery limitation on docker mac 2020-04-08 18:55:21 -07:00
Thomas Stromberg cf14cab4e4 docs: Improve Drivers & Docker driver doc 2020-04-07 08:16:22 -07:00
tstromberg 4593ac3558 Change directory case 2020-04-04 20:30:07 -07:00