Hello! After this topic I’ve upgraded lxc and ubuntu version to these:
**aikawa@qyp-bionic** : **~** $ dpkg -s lxc
Package: lxc
Status: install ok installed
Priority: optional
Section: oldlibs
Installed-Size: 72
Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
Architecture: all
Version: 3.0.3-0ubuntu1~18.04.1
Depends: lxc-utils (>= 3.0.3-0ubuntu1~18.04.1)
Description: Transitional package - lxc -> lxc-utils
This is a transitional dummy package. It can safely be removed.
.
lxc is now replaced by lxc-utils.
Homepage: https://linuxcontainers.org
But when i’m running
lxc-start -d -n MyContainer -f ~/.config/lxc/default.conf --logfile /var/log/lxc/lxc_conf.log
I get this:
lxc-start: MyContainer: lxccontainer.c: wait_on_daemonized_start: 842 Received container state "ABORTING" instead of "RUNNING"
lxc-start: MyContainer: tools/lxc_start.c: main: 330 The container failed to start
lxc-start: MyContainer: tools/lxc_start.c: main: 333 To get more details, run the container in foreground mode
lxc-start: MyContainer: tools/lxc_start.c: main: 336 Additional information can be obtained by setting the --logfile and --logpriority options
Could you help please to understand what to do next?
logfile contains
lxc-start MyContainer 20200725201957.144 ERROR network - network.c:lxc_create_network_unpriv_exec:2178 - lxc-user-nic failed to configure requested network: Numerical result out of range - Failed to get group name: 20001
cmd/lxc_user_nic.c: 1296: main: Quota reached
lxc-start MyContainer 20200725201957.144 ERROR start - start.c:lxc_spawn:1765 - Failed to create the configured network
lxc-start MyContainer 20200725201957.144 ERROR lxccontainer - lxccontainer.c:wait_on_daemonized_start:842 - Received container state "ABORTING" instead of "RUNNING"
lxc-start MyContainer 20200725201957.144 ERROR lxc_start - tools/lxc_start.c:main:330 - The container failed to start
lxc-start MyContainer 20200725201957.144 ERROR lxc_start - tools/lxc_start.c:main:333 - To get more details, run the container in foreground mode
lxc-start MyContainer 20200725201957.144 ERROR lxc_start - tools/lxc_start.c:main:336 - Additional information can be obtained by setting the --logfile and --logpriority options
lxc-start MyContainer 20200725201957.144 ERROR start - start.c:__lxc_start:1939 - Failed to spawn container "MyContainer"