Trying to run docker inside lxc container

rpravm

New Member
Mar 20, 2020
1
0
1
41
I've read some info about permission problems with docker.
So I tried:
Code:
features: keyctl=1,nesting=1

It helped, docker runs ok, but when trying to install elastiflow with docker-compose, I see:
Code:
 ERROR: for elastiflow-elasticsearch-oss  Cannot start service elastiflow-elasticsearch-oss: OCI runtime create failed: container_linux.go:349: starting container process caused "process_linux.go:449: container init caused \"process_linux.go:378: setting rlimits for ready process caused \\\"error setting rlimit type 8: operation not permitted\\\"\"": unknown

Then tried to use
Code:
lxc.apparmor.profile: unconfined
but it doesn't help.

Maybe I can change some apparmor settings in profiles from /etc/apparmor.d/lxc/* to fix this error?
 
hi,

using docker on lxc isn't recommended. it requires too many workarounds to function. just use a VM
 

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!