Some more articles reformatting

This commit is contained in:
Julien Dessaux 2021-03-12 19:36:17 +01:00
parent ebb609f027
commit 652becdaaa
8 changed files with 58 additions and 23 deletions

View file

@ -1,11 +1,14 @@
---
title: "LXD"
linkTitle: "LXD"
weight: 1
description: >
How to setup a LXD server
description: How to setup a LXD server on gentoo
---
## Introduction
I have used LXD for many years successfully, I was never satisfied with the docker way of doing container images pulling who knows what from who knows where. Until recently I managed full machine containers running Alpine Linux and was very happy with the simplicity of it.
## Installation
{{< highlight sh >}}
touch /etc{/subuid,/subgid}
usermod --add-subuids 1000000-1065535 root
@ -15,6 +18,8 @@ emerge -q app-emulation/lxd
rc-update add lxd default
{{< /highlight >}}
## Initial configuration
{{< highlight sh >}}
myth /etc/init.d # lxd init
Would you like to use LXD clustering? (yes/no) [default=no]: