termux / termux-packages

A package build system for Termux.
https://termux.dev
Other
13.39k stars 3.08k forks source link

Package request: gVisor #4901

Open lars18th opened 4 years ago

lars18th commented 4 years ago

Package description This package provides a non-root (user land) option to execute containers (aka Docker).

Link to home page and sources

  1. Home page: https://gvisor.dev/
  2. Source code: https://github.com/google/gvisor

Additional information

I hope someone wants to work in porting this package to Termux. Regards.

ifurther commented 4 years ago

It should need docker? /bin/sh: 2: docker: not found

ghost commented 4 years ago

Package description is not true:

This package provides a non-root (user land) option to execute containers (aka Docker).

Rootless containerization possible only with custom kernels where user namespaces are enabled.

Package is kinda useless for the most users.


Those who want to try "root (less?) containerization", can use runc package from root repo.

ghost commented 4 years ago

Project dependencies: https://github.com/google/gvisor#requirements

lars18th commented 4 years ago

Hi @xeffyr ,

Those who want to try "root (less?) containerization", can use runc package from root repo.

Ok, then users without root don't have any alternative at time.

Thank you very much, though!

azazar commented 1 month ago

It should need docker? /bin/sh: 2: docker: not found

No. It doesn't need docker. Docker could use it if it's available. Also podman/udocker can support it.

azazar commented 1 month ago

Rootless containerization possible only with custom kernels where user namespaces are enabled.

It seems that gvisor doesn't require host kernel to support namespaces when it's using EROFS filesystem.