Give an lxc container an external ip address

From MyWiki
Revision as of 09:35, 7 August 2021 by George2 (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

https://www.techrepublic.com/article/how-to-set-up-a-bridge-for-lxd-containers/

lxc launch images:centos/8 cent8
lxc list
lxc config device add cent8 eth0 nic nictype=bridged parent=br0 name=eth0
lxc list
lxc exec cent8 – /bin/bash
lxc list
lxc stop cent8
lxc start cent8