Highlight
- added
--enter-flags
todistrobox-export
to specify additional distrobox flags to use when entering - added
--hostname
flag todistrobox-create
so you can choose a different hostname than the box name - added
--unshare-groups
todistrobox-create
to allow unsharing user's additional groups inside the container - better login shell management
- better systemd support for initful containers
- fixed multiple bins and apps exports declaration in
assemble
- improved NVidia support
- improved Wolfi container support
- improved rootful containers support for exported graphical apps
- improved terminfo support
- new
distrobox-export --list-apps
and--list-binaries
to show exported apps and binaries
⚠️ BE CAREFUL:⚠️ This release will BREAK EXPORTED APPS AND BINARIES ⚠️ BE CAREFUL:⚠️
To fix this, you can enter your container and do:
distrobox-export --list-binaries | tr -d " " | awk -F"|" '{print "distrobox-export --bin "$1 " --export-path $(dirname "$2")"}' | sh -
and
distrobox-export --list-apps | awk -F"|" '{print $1}' | sed 's/[ \t]*$//' | xargs -I{} distrobox-export --app "{}"
To re-export all the apps and bins for that container
What's Changed
- Fix systemd/init container startup by @pavinjosdev in #1069
- fix: fixed assemble start_now option with root by @diogo464 in #1074
- rm: Ignore nonexistent
~/.local/bin
by @osalbahr in #1073 - Fix inability to enter Gentoo container after adding --ask to EMERGE_DEFAULT_OPTS by @btwotwo in #1079
- Use $XDG_CACHE_HOME, keep cache files in $HOME/.cache/distrobox by default by @bjornfor in #1082
- FIX: Split multiple apps and bins by space by @felixhoffmnn in #1084
- Update Steam Deck installation guide. by @Bai-Chiang in #1109
- Updated URLS for Fedora Images, Removed F36 by @sfalken in #1140
- Bump default container image to Fedora 39 by @osalbahr in #1134
- Capture full container command when exporting app by @FrauH0lle in #1170
- fix(assemble): Use read instead of cat by @p-fruck in #1147
- NixOS: Allow package maintainers to ship a static config file by @pschmitt in #1080
- Add --enter-flags to distrobox-export by @FrauH0lle in #1169
- Fish fixes by @yump in #1186
- docs: fix init-hook script for hostname matching by @michaelhaaf in #1182
- Fix --nvidia flag unreliably mounts libraries into /usr (#1128) by @sdaqo in #1203
- Added zsh completions by @fredricocalamari in #1204
- Add host terminfo as a fallback by @sandorex in #1194
- Fix bash completions and init/systemd user integrations by @pavinjosdev in #1211
- export & rm: correctly handle paths containing whitespace and quotes by @mrnerdhair in #1102
- Add --hostname argument and DBX_CONTAINER_HOSTNAME env var by @sandorex in #1214
- zsh completions: fixed issue with some arguments having invalid syntax by @fredricocalamari in #1216
- Remove the extra / by @onurmercury in #1218
- Check files sums before copy for fix cp the same file error by @Boria138 in #1219
- init: Add '--stdin' flag to 'passwd root' call if supported by @nathanchance in #1221
- Prevent podman from logging stderr verbose output as priority 3 journald errors by @pavinjosdev in #1223
- Fix typo by @xuxiaodong in #1224
- Update useful_tips.md to add note on copying to host clipboard by @briandipalma in #1225
- feat(init): Implement support for Wolfi by @EyeCantCU in #1192
New Contributors
- @pavinjosdev made their first contribution in #1069
- @diogo464 made their first contribution in #1074
- @osalbahr made their first contribution in #1073
- @btwotwo made their first contribution in #1079
- @bjornfor made their first contribution in #1082
- @felixhoffmnn made their first contribution in #1084
- @Bai-Chiang made their first contribution in #1109
- @p-fruck made their first contribution in #1147
- @pschmitt made their first contribution in #1080
- @yump made their first contribution in #1186
- @michaelhaaf made their first contribution in #1182
- @sdaqo made their first contribution in #1203
- @fredricocalamari made their first contribution in #1204
- @sandorex made their first contribution in #1194
- @mrnerdhair made their first contribution in #1102
- @onurmercury made their first contribution in #1218
- @Boria138 made their first contribution in #1219
- @xuxiaodong made their first contribution in #1224
- @briandipalma made their first contribution in #1225
Full Changelog: 1.6.0.1...1.7.0
all: Allow NixOS package maintainers to ship a static config file (#1080)
all: Bump default container image to Fedora 39 (#1134)
all: add DBX_VERBOSE env variable. Fix #1151
all: fix config loading when file doesn't exist
assemble: Use read instead of cat (#1147)
assemble: extract root flag to variable
assemble: fix Split multiple apps and bins by space (#1084)
assemble: fix export in rootful containers
assemble: fix export on rootful containers, Fix #1171
assemble: fix init_hooks regex for separator detection, Fix #1227
assemble: fix key regex, Fix #1228
completions: Added zsh completions (#1204)
completions: zsh - fixed issue with some arguments having invalid syntax (#1216)
create/enter: add unshare-groups flag, do proper su login only on usnhare-groups and initful containers. Fix #1208
create: Use $XDG_CACHE_HOME, keep cache files in $HOME/.cache/distrobox by default (#1082)
create: add --hostname argument and DBX_CONTAINER_HOSTNAME env var (#1214)
create: add host terminfo as a fallback (#1194)
create: add pid-limits=-1 to create, Fix #1183
create: check RHEL subscription files before mounting, Fix #1146
create: fix home-prefix not correctly detected, deduplicate code. Fix #1212
enter: ensure CONTAINER_ID is not inherited in case of nested distroboxes
enter: fix enter on fish shell, Fix #1210
enter: fix host/container PATH order, Fix #1145
enter: fix log reading leading to premature enter before pty/console is sorted on init systems
enter: fix login shell with initful containers
enter: ignore podman stderr logs during stage parsing
enter: pipe both stdout and stderr to fifo, Fix #610
enter: properly allocate pty container an do a proper login shell for the user, Fix #1150
enter: properly handle container stopping during first setup. Fix #1133
enter: simplify login command logic
ephemeral: fix sudo infinite loop on cleanup, Fix #1195
ephemeral: remove redundant stop
export/rm: correctly handle paths containing whitespace and quotes (#1102)
export: absolute path of exported icons should correspond to host's home, not from inside
export: add --enter-flags to distrobox-export (#1169)
export: add list-apps and list-binaries flags, to list exported stuff inside a container. Fix #1137
export: capture full container command when exporting app (#1170)
export: fix bug in filtering existing distrobox entries in export. Fix #1106
export: fix list-apps path search for custom home dirs, Fix #1226
export: fix spaces in arguments in graphical apps
export: support exporting graphical apps
extras: add podman-host and vscode-distrobox utilities
feat: add Containerfile to create a distrobox container, Fix #1021
fix: fixed assemble start_now option with root (#1074)
host-exec: add fallback for situations where XDG variables are not set
host-exec: flatpak needs to be launched without --pty
init: Add '--stdin' flag to 'passwd root' call if supported (#1221)
init: Fix --nvidia flag unreliably mounts libraries into /usr (#1128) (#1203)
init: Fix inability to enter Gentoo container after changing EMERGE_DEFAULT_OPTS (#1079)
init: Fix systemd/init container startup (#1069)
init: Implement support for Wolfi (#1192)
init: add cracklib-dicts to fedora-based OSes, Fix #1158
init: break down logging steps in smaller chunks
init: check files sums before copy for fix cp the same file error (#1219)
init: ensure Nvidia integration mounts respect locked mount flags, Fix #1123
init: ensure basic variables are properly sourced during logins
init: fix and solidify startup and user-integration in initful containers
init: fix devpts mounts permissions and group flags in order to mimic what happens on a real system
init: fix init and upgrade on older Debian and Centos
init: fix login on Alpine and Wolfi
init: fix skel permissions, Fix #1144, Fix #1081
init: improve logging steps
init: improve systemd user integrations (#1211)
init: make linger failable, linger is not always possible on some systems. #1211
init: prevent podman from logging stderr verbose output as priority 3 journald errors (#1223)
init: properly wait for systemd to start on initful systems
init: various fish fixes (#1186)
install: fix completions installation
install: fix zsh completion installation, Fix #1213
install: remove the extra / (#1218)
rm: Ignore nonexistent ~/.local/bin
(#1073)
rm: be non-interactive if forcing
rm: fix container inspection, Fix #1168
rm: fix removal of rootful containers
rm: properly handle container export cleanup
rm: simplify cleanup logic, leaning on new list commands for export
upgrade: do not use login shell for upgrades