I'm having trouble starting a xenial lxc container on my trusty machine.
I had no problems installing the container (by following this guide, which also allowed me to create and start some other trusty containers successfully), but when I try to start it I get this error:
async@riff:~$ sudo lxc-start -n jenkins-slave-xenial Failed to mount cgroup at /sys/fs/cgroup/systemd: Permission denied [!!!!!!] Failed to mount API filesystems, freezing. Freezing execution.
Based on an advice from the debian lxc wiki page, I tried to follow this advice. It changed the error, but did not fix it:
async@riff:~$ sudo lxc-start -n jenkins-slave-xenial lxc-start: cgmanager.c: cgm_setup_limits: 1378 call to cgmanager_set_value_sync failed: invalid request lxc-start: cgmanager.c: cgm_setup_limits: 1381 Error setting cgroup use:lxc/jenkins-slave-xenial limit type use lxc-start: start.c: lxc_spawn: 952 failed to setup the cgroup limits for 'jenkins-slave-xenial' lxc-start: start.c: __lxc_start: 1121 failed to spawn 'jenkins-slave-xenial' lxc-start: lxc_start.c: main: 341 The container failed to start. lxc-start: lxc_start.c: main: 345 Additional information can be obtained by setting the --logfile and --logpriority options.
I'm lost here. Am I missing something to make this work?