stuebinm
41d82ae436
we decided to: - get rid of unused packages - simpify the directory layout since we only have one host anyways - move our docs (such as they are) in-tree
17 lines
465 B
Markdown
17 lines
465 B
Markdown
+++
|
|
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 <name> -- /usr/bin/sudo -i`
|
|
- restarting the keycloak and ldap containers
|
|
`lxc-stop -n <name> && lxc-start -n <name>`
|
|
- restarting their network bridge:
|
|
`systemctl restart lxcbr0-netdev.services`
|