Mic92 created page: home
This commit is contained in:
parent
4d010a9974
commit
782ae18e3b
@ -63,3 +63,13 @@ $ lxc-attach -n <name> # login
|
|||||||
$ systemctl start lxc@<name> # start container
|
$ systemctl start lxc@<name> # start container
|
||||||
$ systemctl stop lxc@<name> # stop 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
|
||||||
|
```
|
||||||
|
Loading…
Reference in New Issue
Block a user