-
Notifications
You must be signed in to change notification settings - Fork 75
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
Question: how to use pkg #55
Comments
Non-root ping requires I also should note that Docker image is a lot different from Android OS. Basic utilities in /system/bin are based on Busybox: https://github.com/termux/termux-docker/tree/master/system/x86/bin. Not sure whether busybox ping works with Linux capabilities. As adding support for non-root ping would require always running image with Termux Docker image is focused on Termux. It doesn't provide Android stuff. In Termux the |
I just took ping as an example, want I want is to use pkg command, but currently it fails with error accessing the mirror, so I assumed it's the same issue as ping as in it can't access the network Tldr is running stuff like pkg upgrade pkg install supported ? |
Networking is supported ad well as pkg. Don't use root for pkg and make sure you launching the image as shown in readme. Networking, specifically DNS resolution, relies on |
I see but so far I can't still make it work, here is the steps I did
error
I'm not familiar with this stuff yet, but https://github.com/termux/termux-docker/blob/master/entrypoint.sh#L11 seems like the dnsmasq is never started because of the check of I also tried running |
ah nvm thats not the issue, dnsmasq is running , I'm going to assume that initially the id is 0
so the issue lies somewhere else |
I tested this on github action https://github.com/sigmaSd/t8664/actions/runs/5725674459/job/15514617432 |
Hello I tried
docker run -it termux/termux-docker:x86_64
but I can't access the network, ping for example fails withare you root?
if I start with root entry point I can ping, but I don't want to do that because I can't usepkg
Is there an obvious thing I'm missing?
The text was updated successfully, but these errors were encountered: