LXD supports proxy devices, which is a way to proxy connections between the host and containers. This includes TCP, UDP and Unix socket connections. For example, when someone connects to your host on port 80 (http), then this connection can be proxied to a container using a proxy device. In that way, you can isolate …
Category: Linux
Permanent link to this article: https://blog.simos.info/how-to-use-the-lxd-proxy-device-to-map-ports-between-the-host-and-the-containers/
Aug 30 2019
Cloud-init support in LXD container images
cloud-init is a tool to help you customize cloud images. When you launch a cloud image, you can provide to it with your cloud-init instructions, and the cloud image will execute them. In that way, you can start with a generic cloud image, and as soon as it booted up, it will be configured to …
Permanent link to this article: https://blog.simos.info/cloud-init-support-in-lxd-container-images/
Aug 28 2019
Using the LXD Kali container image
If you have a look at the list of container images for LXD (repository images:), you will notice the recent addition of the Kali container images. These were added by Re4son (@kali.org). But Kali is a security distribution, does it make sense to create system containers with Kali? LXD offers system containers, which are similar …
Permanent link to this article: https://blog.simos.info/using-the-lxd-kali-container-image/
Jun 17 2019
How to run LXD containers in WSL2
Microsoft announced in May that the new version of Windows Subsystem for Linux 2 (WSL 2), will be running on the Linux kernel, itself running alongside the Windows kernel in Windows. In June, the first version of WSL2 has been made available as long as you update your Windows 10 installation to the Windows Insider …
Permanent link to this article: https://blog.simos.info/how-to-run-lxd-containers-in-wsl2/
Apr 04 2019
Running Steam in a LXD system container
Update February 2021: This tutorial shows how to install manually the shared libraries for OpenGL in the container. The user needs to make sure that the library versions in the container matches those of the host. That was not very good. Now, LXD supports the NVidia container runtime, which is provided by NVidia and has …
Permanent link to this article: https://blog.simos.info/running-steam-in-a-lxd-system-container/
Oct 10 2018
How to create a minimal container image for LXC/LXD with distrobuilder
In the previous post, we saw how to build distrobuilder, then use it to create a LXD container image for Ubuntu. We used one of the existing configuration files for an Ubuntu container image. In this post, we are going to see how to compose such YAML configuration files that describe how the container image …
Permanent link to this article: https://blog.simos.info/how-to-create-a-minimal-container-image-for-lxc-lxd-with-distrobuilder/
Recent Comments