Jan 03 2018

How to preconfigure LXD containers with cloud-init

You are creating containers and you want them to be somewhat preconfigured. For example, you want them to run automatically apt update as soon as they are launched. Or, get some packages pre-installed, or run a few commands. Here is how to perform this early initialization with cloud-init through LXD to container images that support …

Continue reading

Permanent link to this article: https://blog.simos.info/how-to-preconfigure-lxd-containers-with-cloud-init/

Dec 29 2017

Installing retdec on Ubuntu

retdec (RETargetable DECompiler) is a decompiler, and it is the one that was released recently as open-source software by Avast Software. retdec can take an executable and work back into recreating the initial source code (with limitations). An example with retdec Let’s see first an example. Here is the initial source code, that was compiled …

Continue reading

Permanent link to this article: https://blog.simos.info/installing-retdec-on-ubuntu/

Dec 14 2017

multipass, management of virtual machines running Ubuntu

If you want to run a machine container, you would use LXD.  But if you want to run a virtual machine, you would use multipass. multipass is so new, that is still in beta. The name is not known yet to Google, and you get many weird results when you search for it. Both containers …

Continue reading

Permanent link to this article: https://blog.simos.info/multipass-management-of-virtual-machines-running-ubuntu/

Dec 05 2017

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/

Dec 02 2017

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/

Nov 15 2017

New Firefox stats, how will they change?

Firefox 57 has been released and it has quite a few features that make it a very compelling browser to use. Most importantly, Firefox 57 has a new browser engine that makes the best use of a multi-core/multi-threaded CPU. Therefore, let’s write down the browser market share stats of today, and compare again in November …

Continue reading

Permanent link to this article: https://blog.simos.info/new-firefox-stats-how-will-they-change/

Nov 07 2017

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/

Nov 06 2017

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/

%d bloggers like this: