Tool for interactive command line environments on Linux
Find a file
Debarshi Ray fdc00a2778 Make shm_open work
Rootless podman shuld mount a tmpfs at /dev/shm by default. Until that
happens, it's worked around by explicitly specifying the mount point.
Also, the --shm-size flag isn't working with rootless podman [1], so
--tmpfs is used instead.

It tries to mimic the in-kernel tmpfs default [2] of using half the
amount of total RAM. If for some reason /proc/meminfo can't be parsed,
it falls back to using podman's default of 65536k for tmpfs. It's not
clear whether podman uses kibibytes or kilobytes for 'k'. The former
was picked here for consistency.

[1] https://github.com/containers/libpod/issues/1770
[2] https://www.kernel.org/doc/Documentation/filesystems/tmpfs.txt

https://github.com/debarshiray/fedora-toolbox/issues/9
2018-11-08 13:37:57 +00:00
images/fedora Add fedora-toolbox image definitions for Fedoras 29 and 30 2018-09-26 16:37:46 +02:00
COPYING Rename LICENSE as COPYING 2018-10-19 18:24:23 +02:00
fedora-toolbox Make shm_open work 2018-11-08 13:37:57 +00:00
fedora-toolbox-sudo Allow running under sudo(8) when desired 2018-09-20 21:15:09 +02:00
meson.build Add a Meson-based build system for ease of distribution 2018-10-19 17:45:31 +02:00
NEWS Prepare 0.0.1 2018-10-19 19:25:13 +02:00
README.md README.md: Tweak 2018-10-25 17:27:29 +02:00

Fedora Toolbox — Hacking on OSTree-based Fedoras

Fedora Toolbox is a tool that offers a familiar RPM based environment for developing and debugging software on locked down OSTree based Fedora systems like Silverblue. Such operating systems are shipped as immutable OSTree images, where it's difficult to setup a development environment with your favorite tools, editors and SDKs. A toolbox container solves that problem by providing a RPM based mutable container. You can tweak it to your heart's content and use DNF to install your favorite packages, all without worrying about breaking your operating system.

The toolbox environment is based on the fedora-toolbox image. This image is then customized for the current user to create a toolbox container that seamlessly integrates with the rest of the operating system.

Usage

Create your Fedora Toolbox container:

[user@hostname fedora-toolbox]$ ./fedora-toolbox create
[user@hostname fedora-toolbox]$

This will create a container, and an image, called fedora-toolbox-<your-username>:<version-id> that's specifically customised for your host user.

Enter the Toolbox:

[user@hostname fedora-toolbox]$ ./fedora-toolbox enter
🔹[user@toolbox ~]$