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...
View ArticleI am running Steam/Wine on Ubuntu 19.10 (no 32-bit on the host)
I like to take care of my desktop Linux and I do so by not installing 32-bit libraries. If there are any old 32-bit applications, I prefer to install them in a LXD container. Because in a LXD...
View ArticleReconnecting your LXD installation to the ZFS storage pool
You are using LXD and you are creating many containers. Those containers are stored in a dedicated ZFS pool, and LXD is managing this ZFS pool exclusively. But disaster strucks, and LXD loses its...
View ArticleHow to know when a LXD container has finished starting up
You have just run lxc launch ubuntu:18.04 mycontainer and a new container is being created. The command returns very quickly (around 1-2s) and the container image starts running. The container image...
View ArticleUsing 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...
View ArticleCloud-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...
View ArticleHow to use the LXD Proxy Device to map ports between the host and the containers
LXD supports proxy devices, which is a way to proxy connections between the host and containers. This includes TCP, UDP and Unix socket connections, in any combination between each other, in any...
View ArticleHow to add both a private and public network to LXD using cloud-init
When you launch a new LXD container, LXD applies the default LXD profile unless you specify a different profile. By adding configuration to a LXD profile, you can launch containers with specific...
View ArticleTesting CVE-2019-11043 (php-fpm security vulnerability) with LXD system...
CVE-2019-11043 is a buffer overflow in php-fpm that under certain conditions, can lead to remote execution. There is an exploit at PHuiP-FPizdaM that targets certain nginx and php-fpm configurations....
View ArticleHow to setup Netdata in a LXD container for real-time monitoring
Netdata does real-time health monitoring and performance troubleshooting for systems and applications. It helps you instantly diagnose slowdowns and anomalies in your infrastructure with thousands of...
View ArticleHow to add multi-line raw.lxc configuration to LXD
In LXD, you can add multiple settings in a single command line. For example, to both limit the memory to 2GB and the CPUs to a single core, you would run the following in a single line. Obviously, you...
View ArticleComparison between LXC and LXD
More, but on the same hardware Traditionally, we would have a physical computer and expect to run a single operating system on it. One way to go over this limitation, is to use virtualization, which...
View ArticleDiscussion 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...
View ArticleRunning 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...
View ArticleHow to use virtual machines in LXD
Traditionally, LXD is used to create system containers, light-weight virtual machines that use Linux Container features and not hardware virtualization. However, starting from LXD 3.19, it is possible...
View ArticleHow 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...
View ArticleUsing command aliases in LXD to exec a shell
First, create a container mycontainer with the command lxc launch ubuntu: mycontainer. This command creates a container with the currently default LTS version (at the time of writing, 18.04, soon it...
View ArticleGreece is struggling against COVID-19
If a person in Greece wants to learn more about COVID-19, they can access the website of the National Organization of Public Health (Εθνικός Οργανισμός Δημόσιας Υγείας/ΕΟΔΥ). This appears to be the...
View ArticleRe: 30 Things to do After Installing Ubuntu 18.04 LTS (all-in-one video)
Average Linux User has created a Youtube video on 30 This to do After Installing Ubuntu 18.04 LTS. It is a well-prepared, high-quality, informative video. I recommend watching it. There are a couple...
View ArticleHow 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...
View Article
More Pages to Explore .....