<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://www.completenoobs.com/noobs/index.php?action=history&amp;feed=atom&amp;title=Ubuntu_24.04_-_LXD_Initialization</id>
	<title>Ubuntu 24.04 - LXD Initialization - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://www.completenoobs.com/noobs/index.php?action=history&amp;feed=atom&amp;title=Ubuntu_24.04_-_LXD_Initialization"/>
	<link rel="alternate" type="text/html" href="https://www.completenoobs.com/noobs/index.php?title=Ubuntu_24.04_-_LXD_Initialization&amp;action=history"/>
	<updated>2026-04-30T05:04:26Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.1</generator>
	<entry>
		<id>https://www.completenoobs.com/noobs/index.php?title=Ubuntu_24.04_-_LXD_Initialization&amp;diff=476&amp;oldid=prev</id>
		<title>AwesomO: Created page with &quot;== LXD Initialization Guide for Ubuntu 24.04 ==  This guide will walk you through the process of initializing LXD on Ubuntu 24.04. LXD is a next-generation system container and virtual machine manager that offers a user experience similar to virtual machines but using Linux containers instead.  === Prerequisites === * Ubuntu 24.04 installed on your system * Administrative (sudo) access to your system  === Step 1: Install LXD === If LXD is not already installed on your sy...&quot;</title>
		<link rel="alternate" type="text/html" href="https://www.completenoobs.com/noobs/index.php?title=Ubuntu_24.04_-_LXD_Initialization&amp;diff=476&amp;oldid=prev"/>
		<updated>2025-02-17T08:21:38Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;== LXD Initialization Guide for Ubuntu 24.04 ==  This guide will walk you through the process of initializing LXD on Ubuntu 24.04. LXD is a next-generation system container and virtual machine manager that offers a user experience similar to virtual machines but using Linux containers instead.  === Prerequisites === * Ubuntu 24.04 installed on your system * Administrative (sudo) access to your system  === Step 1: Install LXD === If LXD is not already installed on your sy...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== LXD Initialization Guide for Ubuntu 24.04 ==&lt;br /&gt;
&lt;br /&gt;
This guide will walk you through the process of initializing LXD on Ubuntu 24.04. LXD is a next-generation system container and virtual machine manager that offers a user experience similar to virtual machines but using Linux containers instead.&lt;br /&gt;
&lt;br /&gt;
=== Prerequisites ===&lt;br /&gt;
* Ubuntu 24.04 installed on your system&lt;br /&gt;
* Administrative (sudo) access to your system&lt;br /&gt;
&lt;br /&gt;
=== Step 1: Install LXD ===&lt;br /&gt;
If LXD is not already installed on your system, you can install it using the following command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo snap install lxd&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Step 2: Start the LXD Initialization ===&lt;br /&gt;
To begin the LXD initialization process, open a terminal and type:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo lxd init&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Step 3: Answer the Configuration Questions ===&lt;br /&gt;
The &amp;#039;lxd init&amp;#039; command will ask you a series of questions to configure your LXD installation. Here&amp;#039;s a walkthrough of each question:&lt;br /&gt;
&lt;br /&gt;
==== 1. Would you like to use LXD clustering? (yes/no) [default=no]: ====&lt;br /&gt;
* For most users, the default &amp;#039;no&amp;#039; is sufficient.&lt;br /&gt;
* Press Enter to accept the default.&lt;br /&gt;
&lt;br /&gt;
==== 2. Do you want to configure a new storage pool? (yes/no) [default=yes]: ====&lt;br /&gt;
* It&amp;#039;s recommended to create a new storage pool.&lt;br /&gt;
* Press Enter to accept the default &amp;#039;yes&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
==== 3. Name of the new storage pool [default=default]: ====&lt;br /&gt;
* You can choose a name for your storage pool or use the default.&lt;br /&gt;
* Press Enter to accept the default name.&lt;br /&gt;
&lt;br /&gt;
==== 4. Name of the storage backend to use (btrfs, dir, lvm, zfs) [default=zfs]: ====&lt;br /&gt;
* ZFS is a good choice for most users due to its advanced features.&lt;br /&gt;
* If you&amp;#039;re unsure, press Enter to accept the default &amp;#039;zfs&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
==== 5. Create a new ZFS pool? (yes/no) [default=yes]: ====&lt;br /&gt;
* If you chose ZFS, you&amp;#039;ll be asked if you want to create a new pool.&lt;br /&gt;
* Press Enter to accept the default &amp;#039;yes&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
==== 6. Would you like to use an existing empty block device (e.g. a disk or partition)? (yes/no) [default=no]: ====&lt;br /&gt;
* If you don&amp;#039;t have a dedicated disk or partition for LXD, choose &amp;#039;no&amp;#039;.&lt;br /&gt;
* Press Enter to accept the default &amp;#039;no&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
==== 7. Size in GB of the new loop device (1GB minimum) [default=15GB]: ====&lt;br /&gt;
* This sets the size of the ZFS pool. The default is usually sufficient for beginners.&lt;br /&gt;
* Press Enter to accept the default, or type a larger number if you need more space.&lt;br /&gt;
&lt;br /&gt;
==== 8. Would you like to connect to a MAAS server? (yes/no) [default=no]: ====&lt;br /&gt;
* MAAS is for large-scale deployments. Most users don&amp;#039;t need this.&lt;br /&gt;
* Press Enter to accept the default &amp;#039;no&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
==== 9. Would you like to create a new local network bridge? (yes/no) [default=yes]: ====&lt;br /&gt;
* A network bridge allows your containers to connect to the network.&lt;br /&gt;
* Press Enter to accept the default &amp;#039;yes&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
==== 10. What should the new bridge be called? [default=lxdbr0]: ====&lt;br /&gt;
* This is the name for your network bridge.&lt;br /&gt;
* Press Enter to accept the default name &amp;#039;lxdbr0&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
==== 11. What IPv4 address should be used? (CIDR subnet notation, &amp;quot;auto&amp;quot; or &amp;quot;none&amp;quot;) [default=auto]: ====&lt;br /&gt;
* &amp;#039;auto&amp;#039; will automatically assign IP addresses to your containers.&lt;br /&gt;
* Press Enter to accept the default &amp;#039;auto&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
==== 12. What IPv6 address should be used? (CIDR subnet notation, &amp;quot;auto&amp;quot; or &amp;quot;none&amp;quot;) [default=auto]: ====&lt;br /&gt;
* Similar to IPv4, &amp;#039;auto&amp;#039; is a good choice for most users.&lt;br /&gt;
* Press Enter to accept the default &amp;#039;auto&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
==== 13. Would you like LXD to be available over the network? (yes/no) [default=no]: ====&lt;br /&gt;
* For security reasons, it&amp;#039;s best to keep LXD local unless you specifically need remote access.&lt;br /&gt;
* Press Enter to accept the default &amp;#039;no&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
==== 14. Would you like stale cached images to be updated automatically? (yes/no) [default=yes]: ====&lt;br /&gt;
* This helps keep your container images up-to-date.&lt;br /&gt;
* Press Enter to accept the default &amp;#039;yes&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
==== 15. Would you like a YAML &amp;quot;lxd init&amp;quot; preseed to be printed? (yes/no) [default=no]: ====&lt;br /&gt;
* This is useful for automating LXD setup on other machines.&lt;br /&gt;
* For now, press Enter to accept the default &amp;#039;no&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
=== Step 4: Completion ===&lt;br /&gt;
After answering all the questions, LXD will apply your configuration. You should see a message indicating that LXD has been successfully configured.&lt;br /&gt;
&lt;br /&gt;
=== Step 5: Verify Installation ===&lt;br /&gt;
To verify that LXD is working correctly, you can run:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
lxc list&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This should display an empty list of containers, confirming that LXD is operational.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You have now successfully initialized LXD on your Ubuntu 24.04 system. You&amp;#039;re ready to start creating and managing containers!&lt;br /&gt;
&lt;br /&gt;
[[Ubuntu_LXC | Create First container]]&lt;br /&gt;
&lt;br /&gt;
For more information on using LXD, you can refer to the [https://linuxcontainers.org/lxd/docs/master/ official LXD documentation].&lt;/div&gt;</summary>
		<author><name>AwesomO</name></author>
	</entry>
</feed>