Welcome to the Linux Foundation Forum!

894 Failed checking for incomplete container creation

I am having trouble with this lab exercise: it seems to be not very clearly stated

I finially download the container image
now I get this error

Error and output

student@ubuntu001:~$ lxc-start -n unpriv-cont-user -d
lxc-start: unpriv-cont-user: lxccontainer.c: do_lxcapi_start: 894 Failed checking for incomplete container creation
lxc-start: unpriv-cont-user: tools/lxc_start.c: main: 308 The container failed to start
lxc-start: unpriv-cont-user: tools/lxc_start.c: main: 311 To get more details, run the container in foreground mode
lxc-start: unpriv-cont-user: tools/lxc_start.c: main: 313 Additional information can be obtained by setting the --logfile and --logpriority options

Comments

  • chrispokorni
    chrispokorni Posts: 2,310

    Hi @bdkdavid,

    Can you validate that all steps in Lab 3.2 leading up to lxc-start have executed successfully?
    Also, how was your environment set up - by following Lab 1.1 or any other method?

    Regards,
    -Chris

  • bdkdavid
    bdkdavid Posts: 32

    I finally got it done- I had to do a lot of extra steps
    What is the difference between lxc-ls and lxc list?

  • chrispokorni
    chrispokorni Posts: 2,310

    Hi @bdkdavid,

    Glad it all finally worked.

    The lxc-ls command line tool is an LXC tool to list LXC containers.

    The lxc list command lists LXD containers of virtual machines. Although the instance manager is LXD, its command line utility is lxc and can manage both container and virtual machine instances.

    ... I know, not confusing at all :wink:

    Regards,
    -Chris

Categories

Upcoming Training