Skip to content
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

Package request: podman #10188

Open
Fogapod opened this issue Aug 30, 2019 · 13 comments
Open

Package request: podman #10188

Fogapod opened this issue Aug 30, 2019 · 13 comments
Labels
help wanted Help is wanted in order to solve the issue package request A new package was requested root Issue is related to stuff requiring root permissions or root-packages

Comments

@Fogapod
Copy link

Fogapod commented Aug 30, 2019

Package description
Podman is a daemonless container engine for developing, managing, and running OCI Containers. It also supports docker containers and has some security improvements.

Link to home page and sources

  1. Home page: https://podman.io
  2. Source code: https://github.com/containers/libpod

Additional information
A lot of dependencies for compiling seem to be missing from termux.

@ghost
Copy link

ghost commented Aug 30, 2019

Note that running any kind of container (even the simplest runc-based) require custom kernel with additional features (e.g. cgroups: blkio, freezer, devices, memory, cpuset, cpu, cpuacct). Docker require much more things (e.g. kernel support for overlayfs, veth, bridges, etc...).

@mikaello
Copy link

Podman also (ref #10200) runs with user namespace feature is seems:

When run without root, Podman containers use user namespaces to set root in the container to the user running Podman
Source: https://github.com/containers/podman#rootless

But I have not tested building it myself, build instructions here: https://podman.io/getting-started/installation#building-from-scratch

Otherwise Podman seems a good alternative to docker, ref termux/termux-root-packages#60

@thunder-coding thunder-coding transferred this issue from termux/termux-root-packages Apr 19, 2022
@xtkoba xtkoba added the root Issue is related to stuff requiring root permissions or root-packages label Apr 19, 2022
@xtkoba xtkoba mentioned this issue Apr 19, 2022
1 task
@licy183 licy183 mentioned this issue Aug 6, 2022
1 task
@Nitrousoxide
Copy link

Docker (and Podman by extension) can probably be setup through a QEMU vm. This page describes the general process for Docker, though Podman should be similar.
https://gist.github.com/oofnikj/e79aef095cd08756f7f26ed244355d62

I don't know if a script to automate this process is outside the scope of Termux's package repo though.

@lateautumn233
Copy link

There are static binaries here
https://github.com/mgoltzsche/podman-static

@xlbljz
Copy link

xlbljz commented Dec 17, 2023

Note that running any kind of container (even the simplest runc-based) require custom kernel with additional features (e.g. cgroups: blkio, freezer, devices, memory, cpuset, cpu, cpuacct). Docker require much more things (e.g. kernel support for overlayfs, veth, bridges, etc...).

It seems that this is not a problem that can be solved by software packages alone.

@shawn111
Copy link

Although termux without root permission missing kinds of kernel features,
podman-remote mode still quite useful.
Or even use podman-machine to launch container via vm.

@lucasew
Copy link

lucasew commented May 16, 2024

There are static binaries here https://github.com/mgoltzsche/podman-static

Screenshot_20240515-212404

@aikooo7
Copy link

aikooo7 commented Jul 30, 2024

Any updates?

@TomJo2000
Copy link
Member

Any updates?

Seeing as there is no podman package for Termux as of right now, no.

@truboxl truboxl added the help wanted Help is wanted in order to solve the issue label Jul 30, 2024
@aikooo7
Copy link

aikooo7 commented Aug 5, 2024

Any updates?

Seeing as there is no podman package for Termux as of right now, no.

Sad that docker is possible but podman currently not

@aikooo7
Copy link

aikooo7 commented Aug 5, 2024

For what is worth it: #11489 (comment)

@rrmistry
Copy link

rrmistry commented Aug 5, 2024

For what is worth it: #11489 (comment)

Agree with that comment.

I eventually got docker to run with Qemu virtualization on Aarch64 architecture with this script. But I'm not good enough at alpine Linux to automate the script entirely such that I can create an alias in the parent Termux environment to run docker / podman in qemu as if it is local

@aikooo7
Copy link

aikooo7 commented Aug 5, 2024

For what is worth it: #11489 (comment)

Agree with that comment.

I eventually got docker to run with Qemu virtualization on Aarch64 architecture with this script. But I'm not good enough at alpine Linux to automate the script entirely such that I can create an alias in the parent Termux environment to run docker / podman in qemu as if it is local

You can run "anything" in qemu, so podman and docker work there "fine". Not so fine in the performance, battery and heat, I mean it sucks at it at an unusable level so I switched to native docker using termux which is hell fast. So it will never be "as local" in terms of performance, heat and battery but you can make a script to make it easier.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Help is wanted in order to solve the issue package request A new package was requested root Issue is related to stuff requiring root permissions or root-packages
Projects
None yet
Development

No branches or pull requests