Primer contacto con LXC

$ sudo lxc-create -t download -n prueba – --dist debian --release trixie --arch amd64
Using image from local cache
Unpacking the rootfs


You just created a Debian trixie amd64 (20261013_05:24) container.

To enable SSH, run: apt install openssh-server
No default root or user password are set by LXC.

$ sudo lxc-start -n prueba --logfile=log.txt
lxc-start: prueba: ../src/lxc/lxccontainer.c: wait_on_daemonized_start: 837 Received container state “ABORTING” instead of “RUNNING”
lxc-start: prueba: ../src/lxc/tools/lxc_start.c: lxc_start_main: 307 The container failed to start
lxc-start: prueba: ../src/lxc/tools/lxc_start.c: lxc_start_main: 310 To get more details, run the container in foreground mode
lxc-start: prueba: ../src/lxc/tools/lxc_start.c: lxc_start_main: 312 Additional information can be obtained by setting the --logfile and --logpriority options

$ sudo cat log.txt
lxc-start prueba 20261014050557.834 ERROR network - ../src/lxc/network.c:netdev_configure_server_veth:738 - No such file or directory - Failed to attach “vethsprjCv” to bridge “lxcbr0”, bridge interface doesn’t exist
lxc-start prueba 20261014050557.100 ERROR network - ../src/lxc/network.c:lxc_create_network_priv:3731 - No such file or directory - Failed to create network device
lxc-start prueba 20261014050557.100 ERROR start - ../src/lxc/start.c:lxc_spawn:2032 - Failed to create the network
lxc-start prueba 20261014050557.100 ERROR lxccontainer - ../src/lxc/lxccontainer.c:wait_on_daemonized_start:837 - Received container state “ABORTING” instead of “RUNNING”
lxc-start prueba 20261014050557.100 ERROR lxc_start - ../src/lxc/tools/lxc_start.c:lxc_start_main:307 - The container failed to start
lxc-start prueba 20261014050557.100 ERROR lxc_start - ../src/lxc/tools/lxc_start.c:lxc_start_main:310 - To get more details, run the container in foreground mode
lxc-start prueba 20261014050557.100 ERROR lxc_start - ../src/lxc/tools/lxc_start.c:lxc_start_main:312 - Additional information can be obtained by setting the --logfile and --logpriority options
lxc-start prueba 20261014050557.100 ERROR start - ../src/lxc/start.c:__lxc_start:2288 - Failed to spawn container “prueba”

$ ls /lib/modules/7.2.9-1-cachyos | grep lxc

(output vacio)

:moai: :moai: :moai: :moai: :moai: :moai: :moai: :moai: :moai:
Alguno me puede ayudar? JAJAJAJjAAJ

1 me gusta