How to set up a bridge for LXD containers
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.
For the full step-by-step article, head to https://www.techrepublic.com/a....rticle/how-to-set-up
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
less /etc/netplan/50-cloud-init.yaml
Watch more How To videos: https://www.youtube.com/channe....l/UCKyMiy1zmJ7aZ8aP6
Watch more TechRepublic videos: https://www.techrepublic.com/videos/
Follow TechRepublic on Twitter: http://twitter.com/TechRepublic/
Follow TechRepublic on Facebook: http://www.facebook.com/TechRepublic/
Follow TechRepublic on Instagram: https://www.instagram.com/TechRepublic/
Follow TechRepublic on LinkedIn: https://www.linkedin.com/company/tech...
Watch Tech Stories, a series of mini documentaries from TechRepublic: https://www.youtube.com/watch?v=RRPAs...