Tag: lxd

How to get LXD containers get IP from the LAN with routed network

You are using LXD containers and you want a container (or more) to get an IP address from the LAN (or, get an IP address just like the host does). LXD currently supports four ways to do that, and depending on your needs, you select the appropriate way. Using macvlan. See https://blog.simos.info/how-to-make-your-lxd-container-get-ip-addresses-from-your-lan/ Using bridged. See …

Continue reading

Permanent link to this article: https://blog.simos.info/how-to-get-lxd-containers-get-ip-from-the-lan-with-routed-network/

Permanent link to this article: https://blog.simos.info/using-command-aliases-in-lxd-to-exec-a-shell/

How to view the files of your LXD container from the host

You are creating LXD containers and you enter a container (lxc shell, lxc exec or lxc console) in order to view or modify the files of that container. But can you access the filesystem of the container from the host? If you use the LXD snap package, LXD mounts the filesystem of the container in …

Continue reading

Permanent link to this article: https://blog.simos.info/how-to-view-the-files-of-your-lxd-container-from-the-host/

How to use virtual machines in LXD

Update 22 May 2020: The Ubuntu container images have been updated to install on first boot the LXD Agent in the VM. The corresponding section below has been updated so that you can skip the manual step, if your VM image does it for you. Update 22 May 2020: See also the tutorial at https://discuss.linuxcontainers.org/t/running-virtual-machines-with-lxd-4-0/7519 …

Continue reading

Permanent link to this article: https://blog.simos.info/how-to-use-virtual-machines-in-lxd/

Running X11 software in LXD containers

With LXD you can run system containers, which are similar to virtual machines. Normally, you would use a system container to run network services. But you can also run X11 applications. See the following discussion and come back here. In this post, we further refine and simplify the instructions for the second way to run …

Continue reading

Permanent link to this article: https://blog.simos.info/running-x11-software-in-lxd-containers/

Discussion on running X11 applications from within LXD system containers

With LXD, you can create system containers. These system containers are similar to virtual machines, while at the same time they are very lightweight. In a VM, you boot a full Linux kernel and you run your favorite Linux distribution in a virtualized environment that has a fixed disk size and dedicated allocation of RAM …

Continue reading

Permanent link to this article: https://blog.simos.info/discussion-on-running-x11-applications-from-within-lxd-system-containers/

%d bloggers like this: