Tag: lxc

How to use lxc remote with the LXD snap

Background: LXD is a hypervisor that manages machine containers on Linux distributions. You install LXD on your Linux distribution and then you can launch machine containers into your distribution running all sort of (other) Linux distributions. You have installed the LXD snap and you are happy using it. However, you are developing LXD and you …

Continue reading

Permanent link to this article: https://blog.simos.info/how-to-use-lxc-remote-with-the-lxd-snap/

How to use LXD instance types

Background: LXD is a hypervisor that manages machine containers on Linux distributions. You install LXD on your Linux distribution and then you can launch machine containers into your distribution running all sort of (other) Linux distributions. When you launch a new LXD container, there is a parameter for an instance type. Here it is, $ …

Continue reading

Permanent link to this article: https://blog.simos.info/how-to-use-lxd-instance-types/

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/

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/

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/

%d bloggers like this: