.nh .TH toolbox 1 .SH NAME .PP toolbox - Tool for containerized command line environments on Linux .SH SYNOPSIS .PP \fBtoolbox\fP [\fI--assumeyes\fP | \fI-y\fP] [\fI--help\fP | \fI-h\fP] [\fI--log-level LEVEL\fP] [\fI--log-podman\fP] [\fI--verbose\fP | \fI-v\fP] \fICOMMAND\fP [\fIARGS\fP\&...] .SH DESCRIPTION .PP 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. .PP 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. .PP 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 \fByum install ansible\fR without affecting the base operating system. .PP However, this tool doesn't \fIrequire\fP using an OSTree based system. It works equally well on Fedora Workstation and Server, and that's a useful way to incrementally adopt containerization. .PP The toolbox environment is based on an OCI image. On Fedora this is the \fBfedora-toolbox\fR 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, networking (including Avahi), removable devices (like USB sticks), systemd journal, SSH agent, D-Bus, ulimits, /dev and the udev database, etc.. .SH Supported operating system distributions .PP By default, Toolbox tries to use an image matching the host operating system distribution for creating containers. If the host is not supported, then it falls back to a Fedora image. Supported host operating systems are: .RS .IP \(bu 2 Arch Linux .IP \(bu 2 Fedora .IP \(bu 2 Red Hat Enterprise Linux >= 8.5 .IP \(bu 2 Ubuntu .RE .PP However, it's possible to create containers for a different distribution through the use of the \fB--distro\fR and \fB--release\fR options that are accepted by the relevant commands, or their counterparts in the configuration file. The \fB--distro\fR flag specifies the name of the distribution, and \fB--release\fR specifies its version. Supported combinations are: .TS allbox; l l l l . \fBDistro\fP \fBRelease\fP arch latest or rolling fedora or f eg., 36 or f36 rhel \&. eg., 8.5 ubuntu \&. eg., 22.04 .TE .SH USAGE .SS Create a Toolbox container: .EX [user@hostname ~]$ toolbox create Image required to create toolbox container. Download registry.fedoraproject.org/fedora-toolbox:36 (294.1MB)? [y/N]: y Created container: fedora-toolbox-36 Enter with: toolbox enter [user@hostname ~]$ .EE .SS Enter the Toolbox container: .EX [user@hostname ~]$ toolbox enter ⬢[user@toolbox ~]$ .EE .SS Remove the Toolbox container: .EX [user@hostname ~]$ toolbox rm fedora-toolbox-36 [user@hostname ~]$ .EE .SH GLOBAL OPTIONS .PP The following options are understood: .PP \fB--assumeyes, -y\fP .PP Automatically answer yes for all questions. .PP \fB--help, -h\fP .PP Print a synopsis of this manual and exit. .PP \fB--log-level\fP=\fIlevel\fP .PP Log messages above specified level: debug, info, warn, error, fatal or panic (default: error) .PP \fB--log-podman\fP .PP Show log messages of invocations of Podman based on the logging level specified by option \fBlog-level\fP\&. .PP \fB--verbose, -v\fP .PP Same as \fB--log-level=debug\fR\&. Use \fB-vv\fR to include \fB--log-podman\fR\&. .SH COMMANDS .PP Commands for working with toolbox containers and images: .PP \fBtoolbox-create(1)\fP .PP Create a new toolbox container. .PP \fBtoolbox-enter(1)\fP .PP Enter a toolbox container for interactive use. .PP \fBtoolbox-help(1)\fP .PP Display help information about Toolbox. .PP \fBtoolbox-init-container(1)\fP .PP Initialize a running container. .PP \fBtoolbox-list(1)\fP .PP List existing toolbox containers and images. .PP \fBtoolbox-rm(1)\fP .PP Remove one or more toolbox containers. .PP \fBtoolbox-rmi(1)\fP .PP Remove one or more toolbox images. .PP \fBtoolbox-run(1)\fP .PP Run a command in an existing toolbox container. .SH FILES .PP \fBtoolbox.conf(5)\fP .PP Toolbox configuration file. .SH SEE ALSO .PP \fBpodman(1)\fR, https://github.com/containers/toolbox