Welcome to the Linux Foundation Forum!

lxc-create fails to create container

2»

Comments

  • Posts: 14

    Never mind... if sudo is used for the lxc-create ...keyserver command then it's a privileged server...

  • Following the thread, I too had issues. This was my resolve: (take note of the extra -- that separate options after --name)
    lxc-create --template download --name unpriv-cont-user -- --dist ubuntu --release xenial --arch amd64 --keyserver keyserver.
    ubuntu.com

  • @proliant said:
    Got similar issues in the Lab 3.2, able to fix them:

    $ cat /etc/os-release | grep VERSION=
    VERSION="18.04.5 LTS (Bionic Beaver)"

    $ lxc-create -t download -n unpriv-cont-user -- --keyserver keyserver.ubuntu.com

    (root) setfacl -R -m u:1000000:x /home/penguin/.local

    (root) lxc-create -t download -n priv-cont -- --keyserver keyserver.ubuntu.com

    adding the -- --keyserver keyserver.ubuntu.com part worked for me. tried on Sep. 4th 2022

Welcome!

It looks like you're new here. Sign in or register to get started.
Sign In

Welcome!

It looks like you're new here. Sign in or register to get started.
Sign In

Categories

Upcoming Training