Skip to content

Commit c9b7d73

Browse files
committed
doc: document the added --build option for the create subcommand
1 parent 5507ed3 commit c9b7d73

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

doc/toolbox-create.1.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ toolbox\-create - Create a new Toolbx container
88
[*--distro DISTRO* | *-d DISTRO*]
99
[*--image NAME* | *-i NAME*]
1010
[*--release RELEASE* | *-r RELEASE*]
11+
[*--build BUILDCONTEXT* | *-b BUILDCONTEXT*]
1112
[*CONTAINER*]
1213

1314
## DESCRIPTION
@@ -110,6 +111,14 @@ remote registry.
110111
Create a Toolbx container for a different operating system RELEASE than the
111112
host. Cannot be used with `--image`.
112113

114+
**--build** BUILDCONTEXT, **-b** BUILDCONTEXT
115+
116+
Build a toolbx image from the build context found at BUILDCONTEXT by passing it
117+
to `podman build`. Afterwards it sets the tag to `localhost/<name of the image>`
118+
by extracting the name from the image and then creates the container like normal.
119+
120+
You cannot use `--distro`, `--release` or `--image` together with this option.
121+
113122
## EXAMPLES
114123

115124
### Create the default Toolbx container matching the host OS

0 commit comments

Comments
 (0)