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

podman/docker systemd not found, centos caused? #12

Open
garffi opened this issue Jan 19, 2021 · 1 comment
Open

podman/docker systemd not found, centos caused? #12

garffi opened this issue Jan 19, 2021 · 1 comment

Comments

@garffi
Copy link

garffi commented Jan 19, 2021

hello, after a reboot the image no longer works whether under podman or docker. The questioning is due to centos?


podman run -it --privileged --name rtorrent-flood-openvpn -v / sys / fs / cgroup: / sys / fs / cgroup: ro -v / mnt / data / torrent / config: / config -v / mnt / data / torrent: / output -p 9091: 80 -p 8080: 8080 h1f0x / rtorrent-flood-openvpn
Failed to mount cgroup at / sys / fs / cgroup / systemd: Operation not permitted

The git hasn't been updated for 2 years, are you still using this docker image or another system?

I haven't found an equivalent to use openvpn with flood.

Thank you!

@garffi
Copy link
Author

garffi commented Jan 27, 2021

my solution on host Debian bullseye :

mount -t cgroup -o none,name=systemd cgroup /sys/fs/cgroup/systemd

and start container:

podman run -d -it --privileged --name rtorrent-flood-openvpn -v /sys/fs/cgroup:/sys/fs/cgroup:ro -v /mnt/data/torrent/config:/config -v /mnt/data/torrent:/output -p 9091:80 -p 8080:8080 h1f0x/rtorrent-flood-openvpn

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant