Changes

Jump to: navigation, search

LXD/Laptop Network Setup

10 bytes added, 4 months ago
no edit summary
When using LXD can be really useful to use on a laptop, having because you can spin up containers locally for development. A bit of manual setup is required but once set up, this configuration should give your containers Internet access regardless of what particular WiFi network you are connected to. Special setup is required on a laptop when you are using WiFi. Without special steps, LXD manage a bridge will cause a conflict with the default route on your system which is managed by NetworkManager. This will result in your Internet connection failing. See https://bugs.funtoo.org/browse/FL-8295 for more information on the gory details if you are interested.  Fortunately, there is a relatively easy way to work around this.
== LXD Setup ==
== Using an Unmanaged Bridge ==
Rather than use LXD can be really useful to use on a laptop, because you can spin up containers locally for development. A bit of manual setup is required but once set up, this configuration should give your containers Internet access regardless of what particular WiFi network you are connected to. To do this's managed bridge, we are going to set up an ''unmanaged bridge'' using [[Networking|Funtoo networking]], rather than have LXD create a managed bridge for us.
Create the following file on your laptop:
Bureaucrats, Administrators, wiki-admins, wiki-staff
6,633
edits

Navigation menu