Re: Configuring LXC containers

2024-03-13 Thread Mike Wright
On 3/13/24 04:45, Patrick O'Callaghan wrote: On Tue, 2024-03-12 at 15:36 -0700, Mike Wright wrote: On 3/11/24 14:41, Patrick O'Callaghan wrote: On Sun, 2024-03-10 at 16:39 +, Patrick O'Callaghan wrote: I'd like to play with LXC but I find the docs not very newbie- friendly. I'm trying to f

Re: Configuring LXC containers

2024-03-13 Thread Patrick O'Callaghan
On Tue, 2024-03-12 at 15:36 -0700, Mike Wright wrote: > On 3/11/24 14:41, Patrick O'Callaghan wrote: > > On Sun, 2024-03-10 at 16:39 +, Patrick O'Callaghan wrote: > > > I'd like to play with LXC but I find the docs not very newbie- > > > friendly. > > > I'm trying to follow a guide at: > > > >

Re: Configuring LXC containers

2024-03-12 Thread Mike Wright
On 3/11/24 14:41, Patrick O'Callaghan wrote: On Sun, 2024-03-10 at 16:39 +, Patrick O'Callaghan wrote: I'd like to play with LXC but I find the docs not very newbie- friendly. I'm trying to follow a guide at: https://brandonrozek.com/blog/lxc-fedora-38/ (basically because it mentions Fedor

Re: Configuring LXC containers

2024-03-11 Thread Patrick O'Callaghan
On Mon, 2024-03-11 at 15:08 -0700, Mike Wright wrote: > Try this ( works with lxc.apparmor.context ). > > lxc.selinux.context = generated > Same result. > ...and also ~/.local/lxc/default.conf with these contents: > > lxc.include = /etc/lxc/default.conf The local default.conf was copied from

Re: Configuring LXC containers

2024-03-11 Thread Mike Wright
On 3/11/24 14:41, Patrick O'Callaghan wrote: On Sun, 2024-03-10 at 16:39 +, Patrick O'Callaghan wrote: I'd like to play with LXC but I find the docs not very newbie- friendly. I'm trying to follow a guide at: https://brandonrozek.com/blog/lxc-fedora-38/ (basically because it mentions Fedor

Re: Configuring LXC containers

2024-03-11 Thread Mike Wright
On 3/11/24 14:38, Patrick O'Callaghan wrote: > On Mon, 2024-03-11 at 09:16 -0700, Mike Wright wrote: >> On 3/11/24 08:41, Mike Wright wrote: >>> On 3/11/24 04:33, Patrick O'Callaghan wrote: On Sun, 2024-03-10 at 22:56 -0700, Mike Wright wrote: > On 3/10/24 15:40, Patrick O'Callaghan wrote

Re: Configuring LXC containers

2024-03-11 Thread Patrick O'Callaghan
On Sun, 2024-03-10 at 16:39 +, Patrick O'Callaghan wrote: > I'd like to play with LXC but I find the docs not very newbie- > friendly. > I'm trying to follow a guide at: > > https://brandonrozek.com/blog/lxc-fedora-38/ > > (basically because it mentions Fedora). I followed the steps closely >

Re: Configuring LXC containers

2024-03-11 Thread Patrick O'Callaghan
On Mon, 2024-03-11 at 09:16 -0700, Mike Wright wrote: > On 3/11/24 08:41, Mike Wright wrote: > > On 3/11/24 04:33, Patrick O'Callaghan wrote: > > > On Sun, 2024-03-10 at 22:56 -0700, Mike Wright wrote: > > > > On 3/10/24 15:40, Patrick O'Callaghan wrote: > > > > > On Sun, 2024-03-10 at 11:13 -0700,

Re: Configuring LXC containers

2024-03-11 Thread Mike Wright
On 3/11/24 08:41, Mike Wright wrote: On 3/11/24 04:33, Patrick O'Callaghan wrote: On Sun, 2024-03-10 at 22:56 -0700, Mike Wright wrote: On 3/10/24 15:40, Patrick O'Callaghan wrote: On Sun, 2024-03-10 at 11:13 -0700, Mike Wright wrote: The last two lines are key.  Add these flags: -F -o logfil

Re: Configuring LXC containers

2024-03-11 Thread Mike Wright
On 3/11/24 04:33, Patrick O'Callaghan wrote: On Sun, 2024-03-10 at 22:56 -0700, Mike Wright wrote: On 3/10/24 15:40, Patrick O'Callaghan wrote: On Sun, 2024-03-10 at 11:13 -0700, Mike Wright wrote: The last two lines are key.  Add these flags: -F -o logfile.  The default loglevel is ERROR.  If

Re: Configuring LXC containers

2024-03-11 Thread Patrick O'Callaghan
On Sun, 2024-03-10 at 22:56 -0700, Mike Wright wrote: > On 3/10/24 15:40, Patrick O'Callaghan wrote: > > On Sun, 2024-03-10 at 11:13 -0700, Mike Wright wrote: > > > The last two lines are key.  Add these flags: -F -o logfile.  The > > > default loglevel is ERROR.  If you want more detail include -l

Re: Configuring LXC containers

2024-03-11 Thread Patrick O'Callaghan
On Sun, 2024-03-10 at 19:37 -0700, Mike Wright wrote: > On 3/10/24 15:40, Patrick O'Callaghan wrote: > > On Sun, 2024-03-10 at 11:13 -0700, Mike Wright wrote: > > > The last two lines are key.  Add these flags: -F -o logfile.  The > > > default loglevel is ERROR.  If you want more detail include -l

Re: Configuring LXC containers

2024-03-10 Thread Mike Wright
On 3/10/24 15:40, Patrick O'Callaghan wrote: On Sun, 2024-03-10 at 11:13 -0700, Mike Wright wrote: The last two lines are key.  Add these flags: -F -o logfile.  The default loglevel is ERROR.  If you want more detail include -l LEVEL. e.g. lxc-start -n containerName -F -o containerName.log -l W

Re: Configuring LXC containers

2024-03-10 Thread Mike Wright
On 3/10/24 15:40, Patrick O'Callaghan wrote: On Sun, 2024-03-10 at 11:13 -0700, Mike Wright wrote: The last two lines are key.  Add these flags: -F -o logfile.  The default loglevel is ERROR.  If you want more detail include -l LEVEL. e.g. lxc-start -n containerName -F -o containerName.log -l W

Re: Configuring LXC containers

2024-03-10 Thread Patrick O'Callaghan
On Sun, 2024-03-10 at 11:13 -0700, Mike Wright wrote: > The last two lines are key.  Add these flags: -F -o logfile.  The > default loglevel is ERROR.  If you want more detail include -l LEVEL. > > e.g. lxc-start -n containerName -F -o containerName.log -l WARN > This is what I get: $ lxc-star

Re: Configuring LXC containers

2024-03-10 Thread Mike Wright
On 3/10/24 09:39, Patrick O'Callaghan wrote: I'd like to play with LXC but I find the docs not very newbie-friendly. I'm trying to follow a guide at: https://brandonrozek.com/blog/lxc-fedora-38/ (basically because it mentions Fedora). I followed the steps closely and rebooted, but I get the fol