Mic92 created page: home

This commit is contained in:
Jörg Thalheim 2014-08-20 20:55:11 +02:00
parent 4d010a9974
commit 782ae18e3b
1 changed files with 10 additions and 0 deletions

View File

@ -63,3 +63,13 @@ $ lxc-attach -n <name> # login
$ systemctl start lxc@<name> # start container
$ systemctl stop lxc@<name> # stop container
```
## Get logs
lxc-log <CONTAINER> <SERVICE>
example:
```bash
$ lxc-log mail postfix # get logs of postfix service in the mail container
$ lxc-log mail postfix -f # Additional parameter are passed to journalctl
```