[systemd-devel] Trying to use systemd-nspawn on Windows Subsystem for Linux - Ubuntu

Karlin High karlinhigh at gmail.com
Thu Nov 16 22:32:56 UTC 2017


I got a little further.

$ sudo cgroupfs-mount

$ ls /sys/fs/cgroup/devices/
cgroup.clone_children  cgroup.procs          devices.allow
devices.list       release_agent
cgroup.event_control   cgroup.sane_behavior  devices.deny
notify_on_release  tasks

$ sudo systemd-nspawn -D ~/testdebian/
Spawning container testdebian on /home/karlin/testdebian.
Press ^] three times within 1s to kill container.
MS_SLAVE|MS_REC failed: Invalid argument

$ sudo cgcreate -g cpu,memory:karlin
cgcreate: can't create cgroup karlin: Cgroup one of the needed
subsystems is not mounted

In research so far, I am seeing lots of people asking Microsoft for
Docker support under Windows Subsystem for Linux. Also a few requests
for LXC. The cgroups features get mentioned in those contexts, but I
haven't found much on systemd-nspawn specifically.
-- 
Karlin High
Missouri, USA


More information about the systemd-devel mailing list