podman run hello-world
Error: crun: open `/sys/fs/cgroup/devices/libpod_parent/libpod-61324e0d1667790eddb9ed97cb3338c7055e9be411c52d7885423111c231d222`: No such file or directory: OCI runtime attempted to invoke a command that was not found
podman run --name blocky --replace -v /srv/container_conf/blocky/config.yaml:/app/config.yml -p 4000:4000 -p 53:53/udp spx01/blocky
Error: crun: open `/sys/fs/cgroup/devices/libpod_parent/libpod-9ae2e00b6dcde8ef9501f282e03fe1d48129ada033b7de45c07aeae1c0a23d3c`: No such file or directory: OCI runtime attempted to invoke a command that was not found
To me, it feels like I'm missing some package or something, or maybe a kernel setting, but it looks to me like all needed cgroup features are enabled.
But I'm somehow missing /sys/fs/cgroup/devices
ls -la /sys/fs/cgroup/
drwxr-xr-x 10 root root 220 Dec 28 20:00 ./
drwxr-xr-x 7 root root 0 Dec 28 19:28 ../
dr-xr-xr-x 3 root root 0 Dec 28 19:28 blkio/
-rw-r--r-- 1 root root 6 Dec 28 20:00 cgroup.subtree_control
dr-xr-xr-x 3 root root 0 Dec 28 19:28 cpu/
dr-xr-xr-x 3 root root 0 Dec 28 19:28 cpuacct/
dr-xr-xr-x 3 root root 0 Dec 28 19:28 cpuset/
dr-xr-xr-x 3 root root 0 Dec 28 19:28 memory/
dr-xr-xr-x 3 root root 0 Dec 28 19:28 net_cls/
dr-xr-xr-x 3 root root 0 Dec 28 19:28 pids/
dr-xr-xr-x 3 root root 0 Dec 28 19:28 rdma/
I want openwrt with nftables, preferably working repos and cake-autorate.
+
Running a few containers, some will move to a home server in the future, some will stay.
At the moment, I mainly want blocky and a Grafana instance in some sort of container that can auto update by pulling a new image.
It's been a 3 weeks journey so far, just because I wanted to run the cpu at the advertised clock speed and a fast sd card ...
If anybody has suggestions for a different OS that makes a decent router and can run a few containers ... Im kinda frustrated, so open to suggestions.
Or if the general vibe is bro just use docker and ditch nftables, let me know to.
Ok I tried it with the official image and got exactly the same results, which isn't surprising given that I basically was running an official kernel plus some tiny patches.
So I guess podman does not work with the default kernel, is this intended or a bug?
I just flashed a custom kernel with every possible cgroup option enabled, and now podman works.
podman run hello-world
Hello from Docker!
This message shows that your installation appears to be working correctly.
To generate this message, Docker took the following steps:
1. The Docker client contacted the Docker daemon.
2. The Docker daemon pulled the "hello-world" image from the Docker Hub.
(arm64v8)
3. The Docker daemon created a new container from that image which runs the
executable that produces the output you are currently reading.
4. The Docker daemon streamed that output to the Docker client, which sent it
to your terminal.
To try something more ambitious, you can run an Ubuntu container with:
$ docker run -it ubuntu bash
Share images, automate workflows, and more with a free Docker ID:
https://hub.docker.com/
For more examples and ideas, visit:
https://docs.docker.com/get-started/