Mon-ius / Docker-Warp-Socks

Connet to CloudFlare WARP, exposing `socks5` proxy all together.
https://hub.docker.com/r/monius/docker-warp-socks
GNU General Public License v3.0
370 stars 39 forks source link

Resulting devices cgroup doesn't match target mode #27

Closed notaLonelyDay closed 8 months ago

notaLonelyDay commented 8 months ago

Error response from daemon: failed to create task for container: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: error during container init: error setting cgroup config for procHooks process: resulting devices cgroup doesn't match target mode: unknown

because of privileged mode kernel 4.4.0

Mon-ius commented 8 months ago

The kernel is too old to have the correct Wireguard mod, try to upgrade it and try again

notaLonelyDay commented 8 months ago

@Mon-ius is it possible to run container not in privileged mode? Because simple wg client can be run in docker. what should I disable?

Mon-ius commented 8 months ago

which wg client can be run inside docker container without privilege?

notaLonelyDay commented 8 months ago

@Mon-ius, This for example

https://github.com/linuxserver/docker-wireguard?tab=readme-ov-file#docker-compose-recommended-click-here-for-more-info

Mon-ius commented 8 months ago

well, you can have a try, just first generate the config use Docker-Warp-Socks and then map the config file to your given client. Don't forget to tell me if it works 🤗