Skip to content

Commit

Permalink
docs: Add experimental section w/bootc image
Browse files Browse the repository at this point in the history
Let's follow a standard operating procedure for our experimental features:

- A github tracking issue
- A documentation section like this one

Signed-off-by: Colin Walters <[email protected]>
  • Loading branch information
cgwalters committed Jul 16, 2024
1 parent 8a1959b commit f68ef1a
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/src/SUMMARY.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,10 @@
- [Filesystem: sysroot](filesystem-sysroot.md)
- [Container storage](filesystem-storage.md)

# Experimental features

- [bootc image](experimental-bootc-image.md)

# More information

- [Package manager integration](package-managers.md)
Expand Down
28 changes: 28 additions & 0 deletions docs/src/experimental-bootc-image.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# bootc image

Experimental features are subject to change or removal. Please
do provide feedback on them.

Tracking issue: <https://github.com/containers/bootc/issues/690>

## Using `bootc image copy-to-storage`

This experimental command is intended to aid in [booting local builds](booting-local-builds.md).

Invoking this command will default to copying the booted container image into the `containers-storage:`
area as used by e.g. `podman`, under the image tag `localhost/bootc` by default. It can
then be managed independently; used as a base image, pushed to a registry, etc.

Run `bootc image copy-to-storage --help` for more options.

Example workflow:

```
$ bootc image copy-to-storage
$ cat Containerfile
FROM localhost/bootc
...
$ podman build -t localhost/bootc-custom .
$ bootc switch --transport containers-storage localhost/bootc-custom
```

0 comments on commit f68ef1a

Please sign in to comment.