Tag: container

Running Steam in a LXD system container

Update February 2021: This tutorial shows how to install manually the shared libraries for OpenGL in the container. The user needs to make sure that the library versions in the container matches those of the host. That was not very good. Now, LXD supports the NVidia container runtime, which is provided by NVidia and has …

Continue reading

Permanent link to this article: https://blog.simos.info/running-steam-in-a-lxd-system-container/

How to create a minimal container image for LXC/LXD with distrobuilder

In the previous post, we saw how to build distrobuilder, then use it to create a LXD container image for Ubuntu. We used one of the existing configuration files for an Ubuntu container image. In this post, we are going to see how to compose such YAML configuration files that describe how the container image …

Continue reading

Permanent link to this article: https://blog.simos.info/how-to-create-a-minimal-container-image-for-lxc-lxd-with-distrobuilder/

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/

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 easily run graphics-accelerated GUI apps in LXD containers on your Ubuntu desktop

UPDATE June 2020: See newer post at https://blog.simos.info/running-x11-software-in-lxd-containers/ for simplified instructions. They require a recent LXD (version 4.0 or newer), and snap packages work. Note: This post is about LXD containers. These are system containers, which means they are similar to Docker but behave somewhat like virtual machines. When you start a LXD (lex-dee) container, …

Continue reading

Permanent link to this article: https://blog.simos.info/how-to-easily-run-graphics-accelerated-gui-apps-in-lxd-containers-on-your-ubuntu-desktop/

How to use LXD container hostnames on the host in Ubuntu 18.04

Update: 12 Oct 2018 – The systemd service file and the LXD lxdbr0 configuration have been updated according to the comment by mDfRgmd. Please check again and verify that you are using the updated version. If you have two LXD containers, mycontainer1 and mycontainer2, then you can reference each other with those handy *.lxd hostnames …

Continue reading

Permanent link to this article: https://blog.simos.info/how-to-use-lxd-container-hostnames-on-the-host-in-ubuntu-18-04/

%d bloggers like this: