2019-02-28 17:07:24 +00:00
|
|
|
% toolbox-create(1)
|
|
|
|
|
|
|
|
## NAME
|
|
|
|
toolbox\-create - Create a new toolbox container
|
|
|
|
|
|
|
|
## SYNOPSIS
|
2021-01-07 20:07:56 +00:00
|
|
|
**toolbox create** [*--container NAME* | *-c NAME*]
|
2019-03-08 07:17:11 +00:00
|
|
|
[*--image NAME* | *-i NAME*]
|
|
|
|
[*--release RELEASE* | *-r RELEASE*]
|
2019-02-28 17:07:24 +00:00
|
|
|
|
|
|
|
## DESCRIPTION
|
|
|
|
|
|
|
|
Creates a new toolbox container. You can then use the `toolbox enter` command
|
|
|
|
to interact with the container at any point.
|
|
|
|
|
2019-03-05 12:55:11 +00:00
|
|
|
A toolbox container is an OCI container created from an OCI image. On Fedora
|
2019-02-28 17:07:24 +00:00
|
|
|
the base image is known as `fedora-toolbox`. If the image is not present
|
|
|
|
locally, then it is pulled from `registry.fedoraproject.org`. The base image is
|
|
|
|
locally customized for the current user to create a second image, from which
|
|
|
|
the container is finally created.
|
|
|
|
|
|
|
|
Toolbox containers and images are tagged with the version of the OS that
|
|
|
|
corresponds to the content inside them. The user-specific images and the
|
|
|
|
toolbox containers are prefixed with the name of the base image and suffixed
|
|
|
|
with the current user name.
|
|
|
|
|
|
|
|
## OPTIONS ##
|
|
|
|
|
|
|
|
The following options are understood:
|
|
|
|
|
2019-03-08 07:17:11 +00:00
|
|
|
**--container** NAME, **-c** NAME
|
2019-02-28 17:07:24 +00:00
|
|
|
|
|
|
|
Assign a different NAME to the toolbox container. This is useful for creating
|
|
|
|
multiple toolbox containers from the same base image, or for entirely
|
|
|
|
customized containers from custom-built base images.
|
|
|
|
|
2019-03-08 07:17:11 +00:00
|
|
|
**--image** NAME, **-i** NAME
|
2019-02-28 17:07:24 +00:00
|
|
|
|
|
|
|
Change the NAME of the base image used to create the toolbox container. This
|
2021-01-06 20:25:30 +00:00
|
|
|
is useful for creating containers from custom-built base images. Cannot be used
|
|
|
|
used with `--release`.
|
2019-02-28 17:07:24 +00:00
|
|
|
|
2019-03-08 07:17:11 +00:00
|
|
|
**--release** RELEASE, **-r** RELEASE
|
2019-02-28 17:07:24 +00:00
|
|
|
|
|
|
|
Create a toolbox container for a different operating system RELEASE than the
|
2021-01-06 20:25:30 +00:00
|
|
|
host. Cannot be used with `--image`.
|
2019-02-28 17:07:24 +00:00
|
|
|
|
|
|
|
## EXAMPLES
|
|
|
|
|
|
|
|
### Create a toolbox container using the default image matching the host OS
|
|
|
|
|
|
|
|
```
|
|
|
|
$ toolbox create
|
|
|
|
```
|
|
|
|
|
|
|
|
### Create a toolbox container using the default image for Fedora 30
|
|
|
|
|
|
|
|
```
|
|
|
|
$ toolbox create --release f30
|
|
|
|
```
|
|
|
|
|
|
|
|
### Create a custom toolbox container from a custom image
|
|
|
|
|
|
|
|
```
|
|
|
|
$ toolbox create --container foo --image bar
|
|
|
|
```
|
|
|
|
|
|
|
|
## SEE ALSO
|
|
|
|
|
|
|
|
`buildah(1)`, `podman(1)`
|