+++ title = "LXC" categories = [ "lxc" ] +++ Some things don't easily run on NixOS. For these we have LXC containers running debian. Right now, only onlyoffice is left. ## Useful commands - login to a container as root with a usable shell `lxc-attach -n -- /usr/bin/sudo -i` - restarting the keycloak and ldap containers `lxc-stop -n && lxc-start -n ` - restarting their network bridge: `systemctl restart lxcbr0-netdev.services`