Debian Codegraph @

doc/source/index.rst

raw
1 .. kiwi documentation master file
2
3 .. only:: suse
4
5 .. include:: suse_metadata.rst
6
7 Welcome to KIWI NG
8 ==================
9
10 **Build Linux images from one description in a predictable two-step workflow.**
11
12 KIWI NG is a command-line image builder for Linux distributions. It creates
13 bootable, reproducible images for virtual machines, cloud platforms, removable
14 media, containers, and specialized deployment targets.
15
16 .. note::
17 This documentation covers {kiwi-product} |version|.
18
19 .. toctree::
20 :maxdepth: 1
21 :hidden:
22
23 overview
24 installation
25 quickstart
26 concept_and_workflow
27 commands
28 image_description
29 build_methods
30 example_use_cases
31 image_types_and_results
32 troubleshooting
33 contributing
34
35 Build Architecture
36 ------------------
37
38 .. figure:: .images/architecture.svg
39 :align: center
40 :alt: KIWI NG needs an image description and repositories with packages. The prepare step creates a new root tree, and the create step turns it into one or more images.
41
42 KIWI NG builds from an image description and the repositories that provide
43 the packages for it. In the *prepare* step, KIWI creates a new root tree.
44 In the *create* step, KIWI converts that prepared root tree into one or
45 more image artifacts.
46
47 Diagram description:
48 The diagram shows two required inputs: an image description and the
49 repositories that contain the packages used for the build. Both feed the
50 *prepare* step, which creates a new root tree. The *create* step then turns
51 that prepared root tree into one or more images such as disk, ISO, or
52 container artifacts.
53
54 The image description directory typically contains:
55
56 * :file:`config.xml` or a :file:`*.kiwi` file with the image definition.
57 * Repository definitions that point to the package sources used during the
58 build.
59 * Optional overlays, archives, and shell hooks that customize the prepared
60 root tree or the final image artifacts.
61
62 Why KIWI?
63 ---------
64
65 * **One source, multiple outputs**: prepare a root filesystem once and create
66 one or more image formats from it.
67 * **Declarative image definitions**: keep image metadata, repositories,
68 packages, users, and storage settings in a versioned description.
69 * **Broad target support**: build for bare metal, virtual machines, cloud
70 environments, live media, and containers.
71 * **Distribution-aware builds**: work with the package managers and repository
72 layouts used by the supported Linux distributions.
73 * **Controlled customization**: extend builds with overlays, archives, and
74 scripts when the schema alone is not enough.
75
76 .. sidebar:: Links
77
78 * `GitHub Sources <https://github.com/OSInside/kiwi>`__
79 * `GitHub Releases <https://github.com/OSInside/kiwi/releases>`__
80 * `RPM Packages <http://download.opensuse.org/repositories/Virtualization:/Appliances:/Builder>`__
81 * `Build Tests TumbleWeed(x86) <https://build.opensuse.org/project/show/Virtualization:Appliances:Images:Testing_x86:tumbleweed>`__
82 * `Build Tests TumbleWeed(arm) <https://build.opensuse.org/project/show/Virtualization:Appliances:Images:Testing_arm:tumbleweed>`__
83 * `Build Tests TumbleWeed(s390) <https://build.opensuse.org/project/show/Virtualization:Appliances:Images:Testing_s390:tumbleweed>`__
84 * `Build Tests TumbleWeed(ppc64le) <https://build.opensuse.org/project/show/Virtualization:Appliances:Images:Testing_ppc:tumbleweed>`__
85
86 * `Build Tests RawHide(x86) <https://build.opensuse.org/project/show/Virtualization:Appliances:Images:Testing_x86:rawhide>`__
87 * `Build Tests RawHide(s390) <https://build.opensuse.org/project/show/Virtualization:Appliances:Images:Testing_s390:rawhide>`__
88
89 * `Build Tests Leap(x86) <https://build.opensuse.org/project/show/Virtualization:Appliances:Images:Testing_x86:leap>`__
90
91 * `Build Tests Fedora(x86) <https://build.opensuse.org/project/show/Virtualization:Appliances:Images:Testing_x86:fedora>`__
92 * `Build Tests Fedora(arm) <https://build.opensuse.org/project/show/Virtualization:Appliances:Images:Testing_arm:fedora>`__
93
94 * `Build Tests CentOS(x86) <https://build.opensuse.org/project/show/Virtualization:Appliances:Images:Testing_x86:centos>`__
95
96 * `Build Tests Ubuntu(x86) <https://build.opensuse.org/project/show/Virtualization:Appliances:Images:Testing_x86:ubuntu>`__
97 * `Build Tests Ubuntu(arm) <https://build.opensuse.org/project/show/Virtualization:Appliances:Images:Testing_arm:ubuntu>`__
98
99 * `Build Tests Debian(x86) <https://build.opensuse.org/project/show/Virtualization:Appliances:Images:Testing_x86:debian>`__
100
101 * `Build Tests ArchLinux(x86) <https://build.opensuse.org/project/show/Virtualization:Appliances:Images:Testing_x86:archlinux>`__
102
103 Get Started
104 -----------
105
106 Start with :doc:`quickstart` for a first build, :doc:`concept_and_workflow` for
107 workflow details, and :doc:`image_description` for the schema-backed reference
108 for description files.
109
110 System Requirements
111 -------------------
112
113 To build images with {kiwi}, you need:
114
115 * A recent Linux distribution. See :ref:`supported-distributions` for the
116 tested targets.
117 * Enough free disk space for the build root, caches, and resulting images. A
118 minimum of 15 GB is recommended.
119 * Python 3.9 or newer.
120 * Git to clone image descriptions and example repositories.
121 * Optionally, a virtualization environment such as QEMU to boot and inspect
122 the resulting images.
123
124 The project officially tests and supports the following distributions:
125
126 ============================================================ =================
127 Distribution Version
128 ============================================================ =================
129 `Fedora Linux <https://fedoraproject.org>`_ 43+
130 `CentOS Stream <https://centos.org>`_ 10+
131 `CentOS Stream Hyperscale <https://centos.org/hyperscale>`_ 10+
132 `openSUSE Tumbleweed <https://get.opensuse.org/tumbleweed>`_ after April 2025
133 `openSUSE Leap 16.0+ <https://get.opensuse.org/leap/16.0/>`_ 16.0+
134 `Canonical Ubuntu Linux <https://ubuntu.com/>`_ 26.04+
135 `Debian GNU/Linux <https://debian.org>`_ 13+
136 `Arch Linux <https://archlinux.org>`_ after April 2025
137 ============================================================ =================
138
139 Contact
140 -------
141
142 * `Mailing list <https://groups.google.com/forum/#!forum/kiwi-images>`__
143
144 The `kiwi-images` group is an open group, and anyone can
145 `subscribe <mailto:[email protected]>`__,
146 even if you do not have a Google account.
147
148 * `Matrix <https://matrix.org>`__
149
150 An open network for secure, decentralized communication. Please find the
151 ``#kiwi:matrix.org`` room via
152 `Matrix <https://matrix.to/#/#kiwi:matrix.org>`__ on the web
153 or by using the supported
154 `clients <https://matrix.org/ecosystem/clients>`__.