2019-02-28 17:07:24 +00:00
|
|
|
% toolbox(1)
|
|
|
|
|
|
|
|
## NAME
|
2021-06-25 23:54:24 +00:00
|
|
|
toolbox - Tool for containerized command line environments on Linux
|
2019-02-28 17:07:24 +00:00
|
|
|
|
|
|
|
## SYNOPSIS
|
2021-03-04 19:36:22 +00:00
|
|
|
**toolbox** [*--assumeyes* | *-y*]
|
|
|
|
[*--help* | *-h*]
|
|
|
|
[*--log-level LEVEL*]
|
|
|
|
[*--log-podman*]
|
|
|
|
*COMMAND* [*ARGS*...]
|
2019-02-28 17:07:24 +00:00
|
|
|
|
|
|
|
## DESCRIPTION
|
|
|
|
|
2021-01-25 21:35:46 +00:00
|
|
|
Toolbox is a tool for Linux operating systems, which allows the use of
|
|
|
|
containerized command line environments. It is built on top of Podman and
|
|
|
|
other standard container technologies from OCI.
|
|
|
|
|
|
|
|
This is particularly useful on OSTree based operating systems like Fedora
|
|
|
|
CoreOS and Silverblue. The intention of these systems is to discourage
|
|
|
|
installation of software on the host, and instead install software as (or in)
|
|
|
|
containers — they mostly don't even have package managers like DNF or YUM.
|
|
|
|
This makes it difficult to set up a development environment or install tools
|
|
|
|
for debugging in the usual way.
|
|
|
|
|
|
|
|
Toolbox solves this problem by providing a fully mutable container within
|
|
|
|
which one can install their favourite development and debugging tools, editors
|
|
|
|
and SDKs. For example, it's possible to do `yum install ansible` without
|
|
|
|
affecting the base operating system.
|
|
|
|
|
|
|
|
However, this tool doesn't *require* using an OSTree based system. It works
|
|
|
|
equally well on Fedora Workstation and Server, and that's a useful way to
|
|
|
|
incrementally adopt containerization.
|
2019-02-28 17:07:24 +00:00
|
|
|
|
|
|
|
The toolbox environment is based on an OCI image. On Fedora this is the
|
2021-01-25 21:35:46 +00:00
|
|
|
`fedora-toolbox` image. This image is used to create a toolbox container that
|
|
|
|
seamlessly integrates with the rest of the operating system by providing
|
|
|
|
access to the user's home directory, the Wayland and X11 sockets, SSH agent,
|
|
|
|
etc..
|
2019-02-28 17:07:24 +00:00
|
|
|
|
2021-03-04 19:36:22 +00:00
|
|
|
## GLOBAL OPTIONS ##
|
2019-02-28 17:07:24 +00:00
|
|
|
|
|
|
|
The following options are understood:
|
|
|
|
|
2019-04-26 16:28:11 +00:00
|
|
|
**--assumeyes, -y**
|
|
|
|
|
|
|
|
Automatically answer yes for all questions.
|
|
|
|
|
2019-02-28 17:07:24 +00:00
|
|
|
**--help, -h**
|
|
|
|
|
|
|
|
Print a synopsis of this manual and exit.
|
|
|
|
|
2021-03-04 19:36:22 +00:00
|
|
|
**--log-level**=*level*
|
2019-02-28 17:07:24 +00:00
|
|
|
|
2021-03-04 19:36:22 +00:00
|
|
|
Log messages above specified level: debug, info, warn, error, fatal or panic
|
|
|
|
(default: error)
|
|
|
|
|
|
|
|
**--log-podman**
|
|
|
|
|
|
|
|
Show log messages of invocations of Podman based on the logging level specified
|
|
|
|
by option **log-level**.
|
2019-02-28 17:07:24 +00:00
|
|
|
|
|
|
|
## COMMANDS
|
|
|
|
|
|
|
|
Commands for working with toolbox containers and images:
|
|
|
|
|
|
|
|
**toolbox-create(1)**
|
|
|
|
|
|
|
|
Create a new toolbox container.
|
|
|
|
|
|
|
|
**toolbox-enter(1)**
|
|
|
|
|
2019-05-16 12:40:17 +00:00
|
|
|
Enter a toolbox container for interactive use.
|
2019-02-28 17:07:24 +00:00
|
|
|
|
2019-07-15 08:23:25 +00:00
|
|
|
**toolbox-help(1)**
|
|
|
|
|
|
|
|
Display help information about Toolbox.
|
|
|
|
|
2019-05-10 18:38:46 +00:00
|
|
|
**toolbox-init-container(1)**
|
|
|
|
|
|
|
|
Initialize a running container.
|
|
|
|
|
2019-02-28 17:07:24 +00:00
|
|
|
**toolbox-list(1)**
|
|
|
|
|
|
|
|
List existing toolbox containers and images.
|
|
|
|
|
2019-02-19 15:59:19 +00:00
|
|
|
**toolbox-rm(1)**
|
|
|
|
|
|
|
|
Remove one or more toolbox containers.
|
|
|
|
|
|
|
|
**toolbox-rmi(1)**
|
|
|
|
|
|
|
|
Remove one or more toolbox images.
|
|
|
|
|
2019-05-16 12:40:17 +00:00
|
|
|
**toolbox-run(1)**
|
|
|
|
|
|
|
|
Run a command in an existing toolbox container.
|
|
|
|
|
2021-03-04 19:36:22 +00:00
|
|
|
## Toolbox images
|
|
|
|
|
|
|
|
Toolbox currently supports these images:
|
|
|
|
|
|
|
|
registry.fedoraproject.org/fedora-toolbox
|
|
|
|
: default image on Fedora
|
|
|
|
|
|
|
|
registry.access.redhat.com/ubi8
|
|
|
|
: default image on RHEL
|
|
|
|
|
|
|
|
Images in this list are tested to be working with Toolbox. Any other image may
|
|
|
|
work as well, but it is not guaranteed.
|
|
|
|
|
|
|
|
### NOTE: Name change of default Fedora image
|
|
|
|
|
|
|
|
Since version 0.0.99.1 Toolbox started to use registry.fedoraproject.org/fedora-toolbox
|
|
|
|
instead of registry.fedoraproject.org/f{version}/fedora-toolbox. The image is
|
|
|
|
still the same, only the name has changed.
|
|
|
|
|
|
|
|
Existing containers are not affected by this change, only new ones.
|
|
|
|
|
|
|
|
## Toolbox containers
|
|
|
|
|
|
|
|
Information about how toolbox containers are created can be found in
|
|
|
|
`toolbox-create(1)`.
|
|
|
|
|
|
|
|
Information about the entry-point of toolbox containers can be found in
|
|
|
|
`toolbox-init-container(1)`.
|
|
|
|
|
2019-02-28 17:07:24 +00:00
|
|
|
## SEE ALSO
|
|
|
|
|
2021-03-04 19:36:22 +00:00
|
|
|
`podman(1)`, `toolbox-create(1)`, `toolbox-enter(1)`, `toolbox-run(1)`,
|
|
|
|
`toolbox-init-container(1)`, `toolbox-list(1)`, `toolbox-rm(1)`,
|
|
|
|
`toolbox-rmi(1)` `toolbox-help(1)`, https://github.com/containers/toolbox
|