You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Effectively, these images contain a Linux kernel - and while this kernel
34
+
is not used when the image is used via e.g. `podman|docker run`, it *is*
35
+
used when booted via `bootc`.
36
+
37
+
In the current defaults, `/etc` and `/var` both act a bit like
38
+
mounted, persistent volumes. More on this in [the ostree docs](https://ostreedev.github.io/ostree/adapting-existing/#system-layout).
31
39
32
40
## Status
33
41
34
42
At the current time, bootc is in active development and is not quite
35
43
considered ready for production use. The command line interface
36
-
*might* change.
44
+
*might* change. There is not yet stable RPC API.
37
45
38
46
However, it heavily relies on a lot of underlying technologies which
39
47
are tested, and the goal is to stabilize everything sometime in
@@ -43,10 +51,18 @@ are tested, and the goal is to stabilize everything sometime in
43
51
44
52
### Installing
45
53
46
-
At the current time, there are no official binary releases; this will
47
-
likely change in the future. For now, assuming you've done a `cargo build --release`
48
-
and you have a `target/release/bootc` binary, you can copy that onto
49
-
a target host system that is booted using ostree.
54
+
* Fedora, CentOS Stream 9: There is a [COPR](https://copr.fedorainfracloud.org/coprs/rhcontainerbot/bootc/) tracking git main with binary packages.
55
+
56
+
You can also build this project like any other Rust project, e.g. `cargo build --release` from a git clone.
57
+
58
+
### Base images
59
+
60
+
Many users will be more interested in base (container) images.
61
+
62
+
* The [bootc-demo-base-images](https://github.com/cgwalters/bootc-demo-base-images) contains demonstration (relatively) small images that can be used as a starting point.
63
+
*[Fedora CoreOS](https://quay.io/repository/fedora/fedora-coreos) can also be used as a base image, but it does not currently include `bootc`.
64
+
65
+
However, bootc itself is not tied to Fedora derivatives; and the plan is to extend the set of images.
50
66
51
67
### Deriving from and switching to base images
52
68
@@ -58,16 +74,29 @@ There are a number of examples in e.g. [coreos/layering-examples](https://github
58
74
59
75
First, build a derived container using any container build tooling.
60
76
61
-
Next, given a disk image (e.g. AMI, qcow2, raw disk image) installed on a host
62
-
system and set up using ostree by default, the `bootc switch` command
63
-
can be used to switch the system to use the targeted container image:
77
+
#### Using `bootc install`
78
+
79
+
The `bootc install` command will write the current container to a disk, and set it up for booting.
80
+
81
+
For example, booting a Fedora-derivative (including CentOS and RHEL) system, whether a cloud guest or a live ISO, you can invoke:
As noted above though, if you create a *derivative* container image, it also automatically supports `bootc install`.
88
+
89
+
#### Switching from an existing ostree-based system
90
+
91
+
If you have [an operating system already using ostree](https://ostreedev.github.io/ostree/#operating-systems-and-distributions-using-ostree) then you can use `bootc switch`:
0 commit comments