Category: Linux

Using distrobuilder to create container images for LXC and LXD

With LXC and LXD you can run system containers, which are containers that behave like a full operating system (like a Virtual Machine does). There are already official container images for most Linux distributions. When you run lxc launch ubuntu:18.04 mycontainer, you are using the ubuntu: repository of container images to launch a container with …

Continue reading

Permanent link to this article: https://blog.simos.info/using-distrobuilder-to-create-container-images-for-lxc-and-lxd/

Using Arduino IDE for the ESP32 in a LXD container

The ESP32 is a dual-core microcontroller that has both WiFi and Bluetooth. The ESP32 is the next generation of the older single-core microcontroller ESP8266 that only had WiFi. You can perform most tasks that you did with the various Arduinos but with the ESP32 (or ESP8266) and you also have WiFi embedded into the microcontroller. …

Continue reading

Permanent link to this article: https://blog.simos.info/using-arduino-ide-for-the-esp32-in-a-lxd-container/

Setting up the ESP32 in LXD on Ubuntu

The ESP32 is a dual-core microcontroller that has both WiFi and Bluetooth. The ESP32 is the next generation of the older single-core microcontroller ESP8266 that only had WiFi. You can perform most tasks that you did with the various Arduinos but with the ESP32 (or ESP8266) and you also have WiFi embedded into the microcontroller. …

Continue reading

Permanent link to this article: https://blog.simos.info/setting-up-the-esp32-in-lxd-on-ubuntu/

How to run Julia on Jupyter in a LXD container

Julia is a computer language well-suited for scientists, engineers and students. I wrote the following introduction a couple of days ago. In this post we are going to see how to use Julia in the Jupyter interactive environment. This means that you run Julia commands in your browser and get the output in your browser. …

Continue reading

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

How to manage LXD from within one of its containers

In a LXD (lex-dee) installation there is the host (where the LXD service is running) and there are the containers that you create. On the host, you can run the various lxc subcommands (like lxc list to get a list of the containers). The containers, on the other hand, are by default confined and isolated …

Continue reading

Permanent link to this article: https://blog.simos.info/how-to-manage-lxd-from-within-one-of-its-containers/

Configuring public IP addresses on cloud servers for LXD containers

You have a cloud server and you got more than one public IP addresses. How do you get those additional IP addresses to associate to specific LXD containers? That is, how do you get your LXD container to use a public IP address? This post has been tested with a packet.net baremetal server. Prerequisites You …

Continue reading

Permanent link to this article: https://blog.simos.info/configuring-public-ip-addresses-on-cloud-servers-for-lxd-containers/