[lxc-users] Docker in unprivileged LXC?
Tomasz Chmielewski
mangoo at wpkg.org
Wed Nov 20 10:57:00 UTC 2019
On 2019-11-20 19:52, Dirk Geschke wrote:
> Hi all,
>
> is there a way to get docker up and running in an unprivileged
> LXC? It seems to have problems with cgroups:
>
> docker: Error response from daemon: OCI runtime create failed:
> container_linux.go:344: starting container process caused
> "process_linux.go:275: applying cgroup configuration for process
> caused \"mkdir /sys/fs/cgroup/cpuset/docker: permission denied\"":
> unknown.
>
> Does someone know a way to get it working? I don't trust the
> docker containers, so my idea was to run them in an LXC. But
> up to now I have no clue how to do this...
You just need to set this:
security.nesting: "true"
(in "lxc config edit container-name").
Tomasz Chmielewski
https://lxadm.com
More information about the lxc-users
mailing list