> Does networking work in n ative plain lxc container?

Networking works with plain native containers as is does with debci
generated native ones.

root@e580sg:~# lxc-start -n amd64
root@e580sg:~# lxc-attach -n amd64
root@amd64:~# LANG=C apt update
Get:1 http://security.debian.org stable/updates InRelease [65.4 kB]
Hit:2 http://deb.debian.org/debian stable InRelease  
Get:3 http://deb.debian.org/debian stable/main Translation-en [5968 kB]
Get:4 http://security.debian.org stable/updates/main amd64 Packages
[233 kB]
Get:5 http://security.debian.org stable/updates/main Translation-en
[125 kB]   
Fetched 6392 kB in 5s (1329
kB/s)                                              
Reading package lists... Done
Building dependency tree... Done
All packages are up to date.
root@amd64:~# exit
exit
root@e580sg:~# lxc-stop -n amd64

Note: lxc-stop terminates quickly and without any error message.

> What does your/etc/lxc/default.conf look like?

lxc.net.0.type = veth
lxc.net.0.link = br0
lxc.net.0.flags = up
lxc.apparmor.profile = generated
lxc.apparmor.allow_nesting = 1

Sven

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to