How to set up a bridge for LXD containers

preview_player
Показать описание
If you're using LXD for container development, and you're unable to access those containers from your LAN, you need to create a bridge. Jack Wallen shows you how.

List of Commands:

lxc launch ubuntu:20.04
lxc list
lxc config device add hip-aardvark eth0 nic nictype=bridged parent=br0 name=eth0
lxc list
lxc exec hip-aardvark /bin/bash

Рекомендации по теме
Комментарии
Автор

And where the hell that br0 (bridge) came from????

lukee_octavia
Автор

So this is a great video - but it really misses a part in which the "lxc config device [...]" command is explained.

plixplux
Автор

Great video. TBH, brctl is a better way to make the bridge than lxd provides.

Tom-ktlu
Автор

How do i get the main lxc command, it is not found. I have other commands like lxc-start etc

ovrskr
Автор

How do you make a container with two NICs?

esra_erimez
Автор

i followed this to the letter, and it fails just like every other tutorial on the subject.

markcaldwell
join shbcf.ru