LXC container and running Docker

droidus

Member
Apr 5, 2020
107
2
23
34
I made a copy (via restore from backup) of my unprivileged lxc container to a privileged one. On the new one, keyctl and nesting is checked. I go to run a docker container on the new LXC container, and it fails with this error message:
Code:
docker: Error response from daemon: AppArmor enabled on system but the docker-default profile could not be loaded: running `/usr/sbin/apparmor_parser apparmor_parser -Kr /var/lib/docker/tmp/docker-default2353768627` failed with output: apparmor_parser: Unable to replace "docker-default".  Permission denied; attempted to load a profile while confined?

error: exit status 243.
ERRO[0006] error waiting for container: context canceled

I didn't receive this error on my old LXC instance. What has changed?
 

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!