Create a Fedora container via distrobox why is this good for
Seamlessly integrates with the rest of the operating system by providing access to the user's home directory,
the Wayland and X11 sockets, networking, removable devices (like USB sticks), systemd journal,
SSH agent, D-Bus, ulimits, /dev and the udev database, etc...
Via pip:
- pipenv
- poetry
- pre-commit
- git-review
- tox
- ipython
- ipdb
- docker
Via dnf:
- zsh
- sshpass
- git
- wget
- vim
- neovim
- tmux
- origin-clients (oc)
- awscli
- ocm-cli
- bash-insulter :)
- kubectl
- rosa
ansible: install using package manager
GitHub cli: install via sudo dnf install gh
Clone the repository and install Ansible community plugins:
git clone https://github.com/myk-org/distrobox-fedora.git
cd distrobox-fedora
ansible-galaxy collection install community.general
ansible-playbook -K fedora-distro-box.yml --extra-vars "home=<user home dir> user=<user name> box_name=<box name (default is distrobox-fedora)>"
where home will be the home directory for the user inside the box and user should be the current login user
distrobox-enter distrobox-fedora # Or the name of the box if passed in the command
vim uses LazyVim
To enter automatically configure your terminal to exec distrobox-enter distrobox-fedora
on each new shell
Inside the box $HOME will be the box home (under distrobox/) and the local user home is $HOST_HOME
To execute command on the host from the box run distrobox-host-exec <command>