2019-02-28 17:07:24 +00:00
|
|
|
% toolbox-enter(1)
|
|
|
|
|
|
|
|
## NAME
|
2019-04-30 10:19:36 +00:00
|
|
|
toolbox\-enter - Enter a toolbox container for interactive use
|
2019-02-28 17:07:24 +00:00
|
|
|
|
|
|
|
## SYNOPSIS
|
2019-03-08 07:17:11 +00:00
|
|
|
**toolbox enter** [*--container NAME* | *-c NAME*]
|
2021-01-07 20:35:20 +00:00
|
|
|
[*--distro DISTRO* | *-d DISTRO*]
|
2019-03-08 07:17:11 +00:00
|
|
|
[*--release RELEASE* | *-r RELEASE*]
|
2019-02-28 17:07:24 +00:00
|
|
|
|
|
|
|
## DESCRIPTION
|
|
|
|
|
2019-04-30 10:19:36 +00:00
|
|
|
Spawns an interactive shell inside a toolbox container. The container should
|
|
|
|
have been created using the `toolbox create` command. If there aren't any
|
|
|
|
containers, `toolbox enter` will offer to create one for you. When invoked with
|
|
|
|
the default parameters, and if there's only one container available, it will
|
|
|
|
fall back to it, even if it doesn't match the default name.
|
2019-02-28 17:07:24 +00:00
|
|
|
|
2019-03-05 13:11:12 +00:00
|
|
|
A toolbox container is an OCI container. Therefore, `toolbox enter` is
|
|
|
|
analogous to a `podman start` followed by a `podman exec`.
|
|
|
|
|
2021-01-07 20:35:20 +00:00
|
|
|
By default, the toolbox containers are tagged with the version of the OS that
|
2019-03-05 13:11:12 +00:00
|
|
|
corresponds to the content inside them. Their names are prefixed with the name
|
|
|
|
of the base image and suffixed with the current user name.
|
2019-02-28 17:07:24 +00:00
|
|
|
|
|
|
|
## 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
|
|
|
|
|
|
|
Enter a toolbox container with the given NAME. This is useful when there are
|
|
|
|
multiple toolbox containers created from the same base image, or entirely
|
|
|
|
customized containers created from custom-built base images.
|
|
|
|
|
2021-01-07 20:35:20 +00:00
|
|
|
**--distro** DISTRO, **-d** DISTRO
|
|
|
|
|
|
|
|
Enter a toolbox container for a different operating system DISTRO than the
|
|
|
|
host.
|
|
|
|
|
2019-03-08 07:17:11 +00:00
|
|
|
**--release** RELEASE, **-r** RELEASE
|
2019-02-28 17:07:24 +00:00
|
|
|
|
|
|
|
Enter a toolbox container for a different operating system RELEASE than the
|
|
|
|
host.
|
|
|
|
|
|
|
|
## EXAMPLES
|
|
|
|
|
|
|
|
### Enter a toolbox container using the default image matching the host OS
|
|
|
|
|
|
|
|
```
|
|
|
|
$ toolbox enter
|
|
|
|
```
|
|
|
|
|
|
|
|
### Enter a toolbox container using the default image for Fedora 30
|
|
|
|
|
|
|
|
```
|
2021-01-07 20:35:20 +00:00
|
|
|
$ toolbox enter --distro fedora --release f30
|
2019-02-28 17:07:24 +00:00
|
|
|
```
|
|
|
|
|
|
|
|
### Enter a custom toolbox container using a custom image
|
|
|
|
|
|
|
|
```
|
|
|
|
$ toolbox enter --container foo
|
|
|
|
```
|
|
|
|
|
|
|
|
## SEE ALSO
|
|
|
|
|
2019-03-05 13:11:12 +00:00
|
|
|
`buildah(1)`, `podman(1)`, `podman-exec(1)`, `podman-start(1)`
|