How do I LXC console?
It took me an unreasonably long time to boot an LXC container with working console access. For the record:
When you boot an LXC container, the console appears to be attached to
pts device. For example, when booting with the console attached to
your current terminal:
# lxc-start -n node0 …
Cleaning up LXC cgroups
I spent some time today looking at systemd (44) under Fedora (17).
When stopping an LXC container using
lxc-stop, I would always
encounter this problem:
# lxc-stop -n node0 lxc-start: Device or resource busy - failed to remove cgroup '/sys/fs/cgroup/systemd/node0
This prevents one from starting a new container …read more
Systemd and the case of the missing network
I was intrigued by this post on socket activated containers with
systemd. The basic premise is:
systemdopens a socket on the host and listens for connections.
- When a client connections,
systemdspawns a new container.
- The host
systemdpasses the connected socket to the container
- Services in the …