Tool for interactive command line environments on Linux
Find a file
Debarshi Ray fd697274a3 Use a lighter PID 1 than $SHELL
When used as PID 1, /bin/sh takes 3248 kB compared to the 4136 kB
taken by /bin/bash. It's not a lot, but is memory that can be saved
for free.

As a nice side-effect, this unbreaks 'create' with podman-0.9.1 because
'podman create ...' doesn't work without a command.

https://github.com/containers/libpod/issues/1452
2018-09-13 11:49:26 +02:00
Dockerfile Initial revision 2018-08-31 18:38:01 +02:00
extra-packages extra-packages: Add more things present in the Workstation image 2018-09-11 19:09:10 +02:00
fedora-toolbox Use a lighter PID 1 than $SHELL 2018-09-13 11:49:26 +02:00
LICENSE Initial revision 2018-08-31 18:38:01 +02:00
README.md README.md: Update 2018-09-12 16:29:15 +02:00

Usage

Create the basic Fedora Toolbox image:

[user@hostname fedora-toolbox]$ buildah bud --tag fedora-toolbox:28 .
STEP 1: FROM docker://registry.fedoraproject.org/fedora:28
Getting image source signatures
…
…
…
[user@hostname fedora-toolbox]$

Modify the Dockerfile to match your taste and Fedora version. The image should be tagged as fedora-toolbox with a suffix matching the host Fedora version. eg., fedora-toolbox:29, etc..

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>:28 that's specifically customised for your host user.

Enter the Toolbox:

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