fdc00a2778
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 |
||
---|---|---|
images/fedora | ||
COPYING | ||
fedora-toolbox | ||
fedora-toolbox-sudo | ||
meson.build | ||
NEWS | ||
README.md |
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 ~]$