Welcome to the Linux Foundation Forum!

Struggling with Container lab 3.2 lxc

I can not seem to get the container to run. The information for this Containers Course seems to rely on outdated versions of Ubuntu and I do not know what to do.

When creating the unprivileged container and specifying Ubuntu Xenial: "ERROR: could not find."

Okay so try installing Ubuntu Noble instead now I get:

$lxc-start -n unpriv-xipe-user -d

lxc-start: unpriv-xipe-user: ../src/lxc/lxccontainer.c: wait_on_daemonized_start: 829 No such file or directory - Failed to receive the container state
lxc-start: unpriv-xipe-user: ../src/lxc/tools/lxc_start.c: lxc_start_main: 307 The container failed to start
lxc-start: unpriv-xipe-user: ../src/lxc/tools/lxc_start.c: lxc_start_main: 310 To get more details, run the container in foreground mode
lxc-start: unpriv-xipe-user: ../src/lxc/tools/lxc_start.c: lxc_start_main: 312 Additional information can be obtained by setting the --logfile and --logpriority options

Try sudo! Yet I get:

$sudo lxc-start -n unpriv-xipe-user -d
lxc-start: unpriv-xipe-user: ../src/lxc/tools/lxc_start.c: lxc_start_main: 267 No container config >>specified

I've looked online and am wondering where the path for lxc container configs are and whether I need to write them or if this is some other error either on my part or from the difference between versions..

I also tried prsalinux's post about editing grub .config when he had a similar problem but to no avail. :(

Categories

Upcoming Training