-
Notifications
You must be signed in to change notification settings - Fork 88
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #691 from cgwalters/doc-experimental
docs: Add experimental section w/`bootc image`
- Loading branch information
Showing
3 changed files
with
38 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
``` | ||
|