Code Monkey home page Code Monkey logo

Comments (2)

sylirre avatar sylirre commented on May 29, 2024

Termux does not manage /sys/fs/cgroup, just like any other Android OS (Linux) components. Why do you report this as Termux app bug?

Not all devices have /sys/fs/cgroup directory. You may need to

mkdir -p /sys/fs/cgroup

before you can mount a file system there.

See dockerd wrapper script how to set up cgroup mount points: https://github.com/termux/termux-packages/blob/master/root-packages/docker/dockerd.sh

from termux-app.

blurry-face12 avatar blurry-face12 commented on May 29, 2024

Termux does not manage /sys/fs/cgroup, just like any other Android OS (Linux) components. Why do you report this as Termux app bug?

Not all devices have /sys/fs/cgroup directory. You may need to

mkdir -p /sys/fs/cgroup

before you can mount a file system there.

See dockerd wrapper script how to set up cgroup mount points: https://github.com/termux/termux-packages/blob/master/root-packages/docker/dockerd.sh

Oh, I made a mistake,The real error prompt is the following one:
$ sudo dockerd --iptables=false
allowed
/system/xbin/su: failed to exec PATH=/system/bin: /system/xbin env -i SUDO_GID=10124 PREFIX=/data/data/com.ternux/files/usr SUDO_ USER=10124 LDPRELOAD=/data/data/com.termux/files/usr /lib/ libtermux-exec.so HOME=/data/data/com.termux/files/home/.suroot TMPDIR= /data/data/com.termux/files/home/ . suroot/ . tmp ANDROID_ DATA=/data TERM=xterm-256color ANDROID_ ROOT=/system PATH=/data/data/com.termux/files/usr /bin: /system/bin: /system/xbin: /sbin: /sbin/bin dockerd --iptables=false : No such file or directory

and everytime i use 'sudo', it always prompt similar error. i think it probably termux config wrong, so i report this. may i get this question in the wrong place. i feel sorry about that, it was my first time use github to ask a question.

from termux-app.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.