Dump file outside the lxc container

Viewed 281

I am able to view syslog of my lxc container, from outside the container... by;

sudo lxc exec my-abc-container -- /root/tail  /usr/local/var/syslog

or either by tailing it

sudo lxc exec my-abc-container -- /root/tail --follow=name /usr/local/var/syslog

But I have no clue on how to dump this log in a file. Tired of finding similar question but nothing helped.

1 Answers
Related