Tool for interactive command line environments on Linux
Find a file
Debarshi Ray 741603c64e test/system: Ensure that $HOME is used as a fallback working directory
This needs a directory that's going to be present on the host operating
system across various configurations of all supported distributions,
such as the hosts running the CI, but not inside the Toolbx containers.

It looks like /etc/kernel is present on both Debian and Fedora, but
absent from the fedora-toolbox images.  On a Debian 10 server, it's
owned by several packages:
  $ dpkg-query --search /etc/kernel
  dkms, systemd, grub2-common, initramfs-tools, apt: /etc/kernel

... while on Fedora 36 Workstation:
  $ rpm --file --query /etc/kernel
  systemd-udev-250.8-1.fc36.x86_64

Currently, there's no way to get assert_line to use the stderr_lines
array [1].  This is worked around by assigning stderr_lines to the
'lines' array.

[1] https://github.com/bats-core/bats-assert/issues/42

https://github.com/containers/toolbox/pull/1153
2022-11-10 12:28:14 +01:00
.github Revert "ci: Build & Publish Fedora Toolbx images with GitHub Packages" 2022-03-20 21:11:32 +02:00
completion build: Enable changing the completion paths & drop install_completions 2022-10-21 16:42:29 +02:00
data build: Replace join_paths with the / operator 2022-10-21 17:24:03 +02:00
doc doc/toolbox-run: Tweak the wording for consistency 2022-10-21 21:45:50 +02:00
images Add corrections to avoid duplicate packages 2022-10-20 07:15:34 -04:00
playbooks playbooks: Use the same commands as mentioned in the documentation 2022-10-21 20:23:34 +02:00
profile.d build: Tweak the names of the ShellCheck tests 2022-09-09 17:16:25 +02:00
src cmd/run: Ensure that 'run' has the same container environment as 'enter' 2022-10-25 16:56:20 +02:00
test/system test/system: Ensure that $HOME is used as a fallback working directory 2022-11-10 12:28:14 +01:00
.gitignore test/system: Track bats libs as submodules & install them better 2021-07-22 10:23:53 +02:00
.gitmodules test/system: Track bats libs as submodules & install them better 2021-07-22 10:23:53 +02:00
.mailmap .mailmap: Canonicalize my email 2022-08-01 18:37:43 +02:00
.zuul.yaml .zuul, playbooks: Run unit tests on -Dmigration_path_for_coreos_toolbox 2022-08-31 13:42:40 +02:00
CODE-OF-CONDUCT.md Add Code of Conduct 2020-02-12 17:12:23 +01:00
CONTRIBUTING.md CONTRIBUTING: Custom graphic 2022-01-07 09:34:39 +01:00
COPYING Rename LICENSE as COPYING 2018-10-19 18:24:23 +02:00
gen-docs-list gen-docs-list: Add newline at end of file 2021-02-08 16:49:58 +01:00
GOALS.md GOALS.md: Cosmetics 2021-01-25 21:13:07 +01:00
meson.build build: Replace join_paths with the / operator 2022-10-21 17:24:03 +02:00
meson_options.txt build: Enable changing the completion paths & drop install_completions 2022-10-21 16:42:29 +02:00
meson_post_install.py build: Skip a needless failure when running systemd-tmpfiles as non-root 2022-10-21 16:45:37 +02:00
NEWS Prepare 0.0.99.3 2021-12-10 03:40:42 +01:00
README.md Generate & install completion scripts in build system 2022-02-21 15:15:30 +02:00
SECURITY.md Add Security Policy 2020-05-13 14:37:08 +02:00
toolbox Link to the installation guide from the shell Toolbox 2022-08-29 22:09:15 +02:00

README

Zuul Daily Pipeline

Arch Linux package Fedora package

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.

The toolbox environment is based on an OCI image. On Fedora this is the 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, networking (including Avahi), removable devices (like USB sticks), systemd journal, SSH agent, D-Bus, ulimits, /dev and the udev database, etc..

Installation & Use

See our guides on installing & getting started with Toolbox and Linux distro support.