Michael Johnson wrote:
Hi All.

I'm very new to lxd and having very little success.

What is the absolute bare minimum required to get a container up?

I've installed lxd.

I've started lxd.

When I run: lxd init, if I answer all the question with default, I get this:

error: Failed to run: iptables -w -t mangle -I POSTROUTING -o lxdbr0 -p
udp --dport 68 -j CHECKSUM --checksum-fill -m comment --comment
generated for LXD network lxdbr0: iptables: No chain/target/match by
that name.

When I run: lxc launch images:centos/7/amd64 centos

I get this:

error: Failed to run: /usr/sbin/lxd forkstart centos
/var/lib/lxd/containers /var/log/lxd/centos/lxc.conf

and the exact failure seems to be:

lxc_container 1495144728.829 ERROR    lxc_start - start.c:lxc_spawn:975
- failed to set up id mapping

What am I doing wrong? Or is this a bug? I've seen some bug report about
failure to set up id mapping but that was in an older version and
presumably was fixed.

Additionally, is it a rigid requirement to configure a network bridge or
macvlan just to bring up a container?

Thanks for any direction or help!
Regards,
Mike

http://links.davidfavor.com/wf/click?upn=npdP0-2FMHcGNgMeleDP-2B5CwDT8yGN7SPfWqbXTvyBZ-2Bok79XNVC27qhCKP5ZEg9iC_dR-2FDpsqbqS0pG-2FvtYnlwlYDAXhLtx9yTSf3jZyR4W4FJm5kgQqvrKRmmJ9iEttydmFc6EkJ4YwZLwnw0hi5J0HG2HoxdxGchjsULgammPwBCwSmNA8lbhjTRVnafljyRvPd1sVwE45DizQZ8btYTpN5RCy0ghKYVIjmCUF3ou4PEDeaC0kDmZMkknL-2BgLF1COVEF6El-2BF2NxtxDcI7qhnS2gct2zuuNzPgQF70d9Gzc-3D
 contains great + simple info about this.

No requirement for iptables tricks with LXD, like were required with LXC.
_______________________________________________
lxc-users mailing list
[email protected]
http://lists.linuxcontainers.org/listinfo/lxc-users

Reply via email to