cannot start docker service in LXC container / sysctl key write invalid argument unknown

h0a

Member
Sep 28, 2021
15
0
6
Hello everyone,

I am trying and failing to set up a docker compose system in an LXC container.

The container has set keyctl=1 and nesting=1.

The CT system is:
Debian 11 bullseye
Docker version is:
20.10.9, build c2ea9bc

I get this error:
Code:
Starting project_traefik_1      ... error

ERROR: for project_traefik_1  Cannot start service traefik: OCI runtime create failed: container_linux.go:380: starting container process caused: process_linux.go:545: container init caused: write sysctl key net.ipv4.ping_group_range: write /proc/sys/net/ipv4/ping_group_range: invalid argument: unknown

ERROR: for traefik  Cannot start service traefik: OCI runtime create failed: container_linux.go:380: starting container process caused: process_linux.go:545: container init caused: write sysctl key net.ipv4.ping_group_range: write /proc/sys/net/ipv4/ping_group_range: invalid argument: unknown
ERROR: Encountered errors while bringing up the project.

Can anybody give me a hint on where I have to dig?
I guess I may have to set something in the lxc container config file?
 
Not at all, I circumvented the issue by using a VM instead, which was not the aim of the exercise.
I'll be getting back into it some time soon and will make use of any hints provided by one of the more knowledgeable persons in this forum.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!