Free Palestine 🇵🇸
🇵🇸
Help Spread Awareness for Palestine.

LXD — Assigning static IP to containers

By default, lxd containers get random ip from lxd-bridge system. If you want to assign static IPs (i.e with some logical or arithmetic order), good news: It is quite simple. All we need to do is create a DNS configuration file and tell lxd to use it. There is a configuration file lxd-bridge under /etc/default/ directory. It is created when you first run lxd init command. It is something like this:...

May 24, 2017 Â· 2 min Â· Ali Oguzhan Yildiz