Category: Linux

How to migrate LXD from DEB/PPA package to Snap package

You are using LXD from a Linux distribution package and you would like to migrate your existing installation to the Snap LXD package. Let’s do the migration together! This post is not about live container migration in LXD. Live container migration is about moving a running container from one LXD server to another. If you …

Continue reading

Permanent link to this article: https://blog.simos.info/how-to-migrate-lxd-from-deb-ppa-package-to-snap-package/

How to set the timezone in LXD containers

See https://blog.simos.info/trying-out-lxd-containers-on-our-ubuntu/ on how to set up and test LXD on Ubuntu (or another Linux distribution). In this post we see how to set up the timezone in a newly created container. The problem The default timezone for a newly created container is Etc/UTC, which is what we used to call Greenwich Mean Time. Let’s …

Continue reading

Permanent link to this article: https://blog.simos.info/how-to-set-the-timezone-in-lxd-containers/

How to use Sysdig and Falco with LXD containers

Sysdig (.org) is an open-source container troubleshooting tool and it works by capturing system calls and events directly from the Linux kernel. When you install Sysdig, it adds a new kernel module that it uses to collect all those system calls and events. That is, compared to other tools like strace, lsof and htop, it …

Continue reading

Permanent link to this article: https://blog.simos.info/how-to-use-sysdig-and-falco-with-lxd-containers/

How to install a Node.js app in a LXD container

Update #1: Added working screenshot and some instructions. Update #2: Added instructions on how to get the app to autostart through systemd. Installing a Node.js app on your desktop Linux computer is a messy affair, since you need to add a new repository and install lots of additional packages. The alternative to messing up your …

Continue reading

Permanent link to this article: https://blog.simos.info/how-to-install-a-node-js-app-in-a-lxd-container/

How to run Docker in a LXD container

We are running Ubuntu 16.04 and LXD 2.18 (from the lxd-stable PPA). Let’s get Docker (docker-ce) to run in a container! General instructions on running Docker (docker.io, from the Ubuntu repositories) in an LXD container can be found at LXD 2.0: Docker in LXD [7/12].   First, let’s launch a LXD container in a way …

Continue reading

Permanent link to this article: https://blog.simos.info/how-to-run-docker-in-a-lxd-container/

Online course about LXD containers

If you want to learn about LXD, there is a good online course at LinuxAcademy (warning: referral). It is the LXC/LXD Deep Dive online course by Chad Miller. Here is a review of this LXC/LXD online course by bmullan. There is a 7-day unlimited trial on LinuxAcademy, then $29 per month (bank card or Paypal). …

Continue reading

Permanent link to this article: https://blog.simos.info/online-course-about-lxd-containers/

%d bloggers like this: