Tag: lxc

A network-isolated container in LXD

In this post we see how to get different types of network-isolated containers in LXD. Even if you are not interested in such things, doing this tutorial will help you understand better LXD proxy devices. LXD container with no networking To get a LXD container without networking, you omit the networking configuration in the profile …

Continue reading

Permanent link to this article: https://blog.simos.info/a-network-isolated-container-in-lxd/

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

Update #3 – 27 January 2020: Fedora requires special instructions for routed to work. See the section below named The routed profile for Fedora for more. UPDATE #2 – 26 January 2020: Debian requires special instructions for routed to work. See the section below named The routed profile for Debian for more. UPDATE #1 – …

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

Update February 2021: See the Notes below for extra steps when trying this on the Raspberry Pi 4. Updated instructions for LXD 4.5 (September 2020) LXD 4.5 has added features that make proxy devices more secure in the sense that if something goes wrong on the proxy device, your system is safer. Specifically, the proxy …

Continue reading

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

%d bloggers like this: