Releases: 89luca89/distrobox
1.8.1.2
1.8.1.1
Hot bugfix release!
improve nvidia file integration, adopt a more solid approach from: https://github.com/NVIDIA/nvidia-container-toolkit/blob/main/internal/discover/graphics.go
solve a problem with distrobox-export
What's Changed
- Update install by @briandipalma in #1664
- CI: update pandoc to 3.6.1
- init: improve nvidia integration, avoid directory mounts and possible mount loops
- Revert "export: potential improvement to pull-request #1102 (#1608)"
Full Changelog: 1.8.1...1.8.1.1
1.8.1
Another bugfix release! 🎉
Improvements and refinements all over the place, in pkg manager handling, in nvidia integration and in performance department! 💪
What's Changed
- assemble: add clone in distrobox assemble by @PawsFunctions in #1618
- completions: zsh reworked. fixed not completing container names. by @fredricocalamari in #1603
- create: better check clone support
- create: properly handle platform specification for alien architectures. Fix #1644
- distrobox-enter: improve cmd composition speed by @TigerGorilla2 in #1649
- docs: Cut 80% of the source package size by optimizing/cleaning doc images by @eugenesan in #1586
- docs: Fix misspelling in Useful tips section by @brandondong in #1645
- docs: Update compatibility list
- docs: Update compatibility.md for fedora toolbox images by @ImBearChild in #1637
- docs: add deepin 23 docker image by @chenchongbiao in #1632
- docs: fix nvidia container toolkit commands. Fix #1654
- docs: update Podman inside Distrobox by @alexandrevicenzi in #1597
- enter: Replace tac with awk to be more portable by @shtayerc in #1591
- enter: Stop importing zsh FPATH into container by @jgroman in #1636
- enter: fix additional flags composition, Fix #1594
- export: potential improvement to pull-request #1102 by @AbduEhab in #1608
- fix:repeat trigger update locale when locale exists by @heysion in #1614
- init: Strip single quotes when parsing locale.conf by @catgirlconspiracy in #1605
- init: add timeout to systemd bringup wait. Fix #1641
- init: fix missing hooks in pacman, Fix #1595, Fix #1602, Fix #1610, Fix #1619
- init: fix prompt not sourcing on some distros
- init: fix runtime sync fallback by @xz-dev in #1622
- init: improve nvidia integration, skip files when directory is already a ro-mountpoint, log with warnings
- init: move pkg manager exclude lists to separate step, always run them.
- init: provide default prompt for fish shell by @Boria138 in #1588
- init: simplify nvidia 32bit dir detection
- rm: fix redundant print with quotes. Fix #1634
New Contributors
- @shtayerc made their first contribution in #1591
- @catgirlconspiracy made their first contribution in #1605
- @heysion made their first contribution in #1614
- @PawsFunctions made their first contribution in #1618
- @chenchongbiao made their first contribution in #1632
- @jgroman made their first contribution in #1636
- @ImBearChild made their first contribution in #1637
- @brandondong made their first contribution in #1645
- @AbduEhab made their first contribution in #1608
Full Changelog: 1.8.0...1.8.1
1.8.0
After some time, a much needed release! 🎉 🚀
Lots and lots of fixes, especially in how enter handles shells (this will remove future problems with escapes and so on!)
Improvmeents on Nvidia integration
Improvements on XDG_* env variables management
Remote distrobox assemble
files! Keep them remote with distrobox assemble create --file https://foo.com/file.ini
!
A lot of new container distros, from @ublue-os and @toolbx-images, New Fedora, Ubuntu, Alpine and @wolfi-dev wolfi-toolbox!
A lot of bug fixes and stability improvments
What's Changed
- all: ensure env variables are set and have values
- all: use registry.fedoraproject.org/fedora-toolbox:latest image by default, Fix #1402
- assemble: add support for remote manifest files
- assemble: ensure variables are reset correctly
- assemble: fix name detection with hyphens, Fix #1507
- assemble: fix possible empty lines, Fix #1514
- assemble: improve handling of hooks, pass around b64 encoded string to avoid unwanted evaluations
- compatibility: add missing url for ubuntu:23.04 by @sheevy in #1439
- create: better explain init/pre-init hooks
- create: ignore trailing slashes on custom homes, Fix #1575
- docs: Add kali icon by @andyspectre in #1451
- docs: Document support for alpine 3.20 containers by @Ferenc- in #1504
- docs: Fix issue with user not having permissions to write containers.conf by @nhermosilla14 in #1456
- docs: Seperate curl and wget commands by @axtloss in #1434
- docs: Update microos -> aeon/kalpa in docs by @TheRsKing in #1427
- docs: Update openSUSE and SLES compatibility guide by @alexandrevicenzi in #1489
- docs: add BlackaArch Linux compatibility, Fix #1358
- docs: add compatibility with ghcr.io/ublue-os/bluefin-cli, Fix #1453
- docs: document an official way to detect when you're in a distrobox
- docs: document pipewire/alsa packages for ubuntu initful containers. Fix #1374
- docs: fix
subuids
spelling mistake by @yocoldle in #1431 - docs: fix link for Crystal linux. Fix #1418
- docs: fix linting
- docs: fix obsolete Chainguard Wolfi notes
- docs: point to new nixos wiki by @Mic92 in #1384
- docs: remove rhel-toolbox image from compatibility, it's now behind paywall
- docs: support for 3d acceleration in: run_libvirt_in_distrobox.md by @TheRsKing in #1426
- docs: update compatibility, add ublue toolboxes, update Alpine and Fedora versions, Fix #1501
- docs: update vscode integration docs
- enter: Fix distrobox-enter and distrobox-rm to handle containers that have environment variables shoter than 5 symbols by @senioroman4uk in #1545
- enter: Fix support for Active Directory usernames including backslashes pt. 2 by @phoppermann in #1458
- enter: fix additional flags evaluation, Fix #1541
- enter: fix docker timestamp incompatibility, Fix #1382, Fix #1424, Fix #1392
- enter: fix regression in login for initful container, Fix #1428
- enter: get rid of eval and pass arguments using set. This will avoid maniupulating args, and simplify our life. Fix #749, Fix #1461
- enter: improve positional args handling, treat enter command accordingly, improve comments explaining the black magic
- export: Actually fix XDG_DATA_DIRS and XDG_DATA_HOME handling by @TigerGorilla2 in #1582
- export: Fix XDG_DATA_DIRS and XDG_DATA_HOME handling by @e-luks in #1496
- export: ensure destpath exists, Fix #1405
- export: fix CONTAINER_ID fallback
- export: fix grep errors on list-apps
- export: improve documentation of the spec. Fix #1444
- export: simplify and cleanup code
- export: support exporting app launchers by full-path.
- extras: vscode- improve podman wrapper, add docker wrapper, fix reconnections
- fix for 1440 by @dtg01100 in #1441
- fix: init package in Gentoo Stage3 image by @xz-dev in #1455
- fix:[#1525] handle container creation failure by @jardon in #1526
- generate-entry: add 'Remove' action to entry, Fix #1433
- generate-entry: add timeout to downloads, Fix #1459
- generate-entry: fix generic icon download and setup
- generate-entry: fix linting
- generate-entry: use XDG_DATA_HOME by @Samueru-sama in #1468
- host-exec: fix arm naming, Fix #1442
- host-exec: fix host-spawn version
- host-exec: update host-spawn version
- init: fix arch locale-gen by @Boria138 in #1520
- init: Exclude repos from bind-mounting by @lunacd in #1503
- init: Fix SHELL using absolute path and disable duplicate profile inclusion by @eugenesan in #1397
- init: Generate host locales in container (fixed issue #1399) by @Boria138 in #1404
- init: add fallback values for host locale variables
- init: add iputils
- init: add iputils in setup_pacman by @intzaaa in #1576
- init: apt-get upgrade, force keeping old configs when non interactive
- init: arrange package manager to avoid conflicts when using more than one (eg: packaging containers)
- init: auto-link /usr/bin/flatpak, to better support opening links on host's browser, if those are flatpaks
- init: do not fail in "Setting up read-only mounts" if findmnt does not exist by @phoppermann in #1454
- init: ensure we have DBUS variables set for host-spawn to work in login scripts, Fix #1383
- init: fallback case where mounting /etc/localtime fails, Fix #1435
- init: fix detection of 32bit nvidia libs on suse family
- init: fix failing chpasswd on systemd-homed managed users, Fix #1423
- init: fix locale generation for minimal images
- init: fix locale generation on musl and older systems
- init: fix missing allowerasing flag for dnf
- init: fix nvidia integration mounting files from boost libs, Fix #1500
- init: fix nvidia integration, improve search of nvidia files, Fix #1500
- init: fix typo in fallback locale values
- init: fix udev clash on rootful initful systems
- init: fix void-linux failing due to runit, Fix #1380
- init: perform upgrade before setting up archlinux packages
- init: proper fix for void extraction paths. Fix #1457
- init: remove su-exec workaround for Wolfi, now that it supports proper sudo
- init: rework package managment code
- init: separate 'mount --rbind -o rslave ...' into 'mount --rbind ...'… by @timwa0669 in #1583
- rm: Fix distrobox-enter and distrobox-rm to handle containers that have environment variables shoter than 5 symbols by @senioroman4uk in #1545
- rm: add fallback value to response_force
- rm: ask to force-delete if running and in interactive mode
- rm: fix IFS overwriting, Fix #1400
- rm: remove dead code, remove container volumes.
New Contributors
- @Mic92 made their first contribution in #1384
- @eugenesan made their first contribution in #1397
- @TheRsKing made their first contribution in #1426
- @yocoldle made their first contribution in #1431
- @axtloss made their first contribution in #1434
- @sheevy made their first contribution in #1439
- @dtg01100 made their first contribution in #1441
- @nhermosilla14 made their first contribution in #1456
- @andyspectre made their first contribution in #1451
- @intzaaa made their first contribution in #1576
- @senioroman4uk made their first contribution in #1545
- @Samueru-sama made their first contribution in #1468
- @alexandrevicenzi made their first contribution in #1489
- @e-luks made their first contribution in #1496
- @lunacd made their first contribution in #1503
- @TigerGorilla2 made their first contribution in #1582
- @timwa0669 made their first contribution in #1583
- @jardon made their first contribution in #1526
Full Changelog: 1.7.2.1...1.8.0
1.7.2.1
Quick bugfix release
What's Changed
- chore(init): Add sudo to Wolfi by @EyeCantCU in #1375
- Add fedora toolbox 40 to list of compatible images by @freundTech in #1377
- init: fix setting empty DISPLAY variable, breaking gpg
New Contributors
- @freundTech made their first contribution in #1377
Full Changelog: 1.7.2.0...1.7.2.1
1.7.2
Highlights
Many bug fixes, particularly:
- f031b8e fixing a regression introduced in runc 1.20rc1+
- d626559 New behaviour for containers, they will default to host's hostname and use CONTAINER_ID as prompt distinguisher. This will give a lot less headaches for GUI apps and X11 forwarding
- Better fish support as $SHELL inside the container
- Improved cleanup of exported apps/bins when deleting a container
- cbd55e5 Better POSIX compatibiltiy
What's Changed
- all: properly handle env vars and configs in all commands by @xarvex in #1328
- chore: bump CI actions, minor fixes to README and other files by @kbdharun in #1345
- docs: Specify that distrobox is in the extra repo by @nicknamenamenick in #1316
- docs: Support latest alpine by @Ferenc- in #1341
- docs: Update copyright in footer by @mirkobrombin in #1365
- docs: Update useful_tips.md by @danmac in #1330
- enter: make log_timestamp date format universally compatible by @JamiKettunen in #1343
- export: cancel export when trying to delete by @taukakao in #1340
- export: consider only absolute candidate icon paths that exist by @JamiKettunen in #1318
- init: Support musl variant of Void Linux by @JamiKettunen in #1327
- init: add explicit creation of /etc/fish/conf.d by @Book-reader in #1348
- init: massively speed up apt/pacman/xbps deps install by @JamiKettunen in #1324
- install: use more portable install(1) arguments by @JamiKettunen in #1364
- CI: fix hostname test
- CI: try to ensure enough disk space
- CI: use shell-funcheck
- all: improve function docs
- assemble: add custom hostname support
- create: fix regression with rootless runc 1.20~rc1, Fix #1359
- docs: add Slackware 15. Fix #1357
- docs: move upgrading instruction a bit more ahead, Fix #1342
- docs: update xhost command to be silent. Fix #1350
- enter: Fix support for Active Directory usernames including backslashes. Fix #1360
- enter: fix regression in fish shell login with initful systems
- enter: fix typo in command generation, Fix #1331
- export: fix duplicate extra_flags, Fix #1311
- export: use different symbol for IFS, Fix #1351
- init, create: use $CONTAINER_ID to distinguish container's prompts. Use host's hostname by default.
- init: ensure fish config is sourced only on interactive shell. Fix #1292
- init: fix endless hook append, Fix #1320
- init: fix performance regression in skel file setup, Fix #1317
- init: forward wayland display only if it is set
- rm: revert 22bc081, simplify removal of exported app/bins. Fix #1301
New Contributors
- @nicknamenamenick made their first contribution in #1316
- @danmac made their first contribution in #1330
- @taukakao made their first contribution in #1340
- @xarvex made their first contribution in #1328
- @Ferenc- made their first contribution in #1341
- @Book-reader made their first contribution in #1348
- @kbdharun made their first contribution in #1345
- @dependabot made their first contribution in #1361
Full Changelog: 1.7.1...1.7.2.0
1.7.1
This is a bigger bug fix release, specially regarding the init and includes
a couple of new features too!
What's Changed
- Add fixed resolution png icons for use on desktops by @sfalken in #1280
- all: ensure no side effects on global variables
- assemble: fix regression in file reading
- chore: fix typo by @xinhangzhou in #1283
- create the binary export path if it doesn't exist by @czhang03 in #1291
- docs: Add info on upgrading package on steamdeck by @nathanpovo in #1271
- docs: remove extra ` from xhost command by @arnvgh in #1284
- enter: Add option to run with clean PATH by @sandorex in #1299
- fix: missing .fifo logfile in distrobox-enter by @michaelhaaf in #1307
- init: ignore findmnt error in routine remounting, Fix #1289 by @chitao1234 in #1296
- init: mask suspend/hibernate/hybrid-sleep
- init: massively speed up apk deps install by @JamiKettunen in #1298
- install: Fixes installation script by @ludanin in #1282
- install: Update install by @briandipalma in #1278
- rm: do not block container removal if we cannot start it
New Contributors
- @ludanin made their first contribution in #1282
- @xinhangzhou made their first contribution in #1283
- @nathanpovo made their first contribution in #1271
- @arnvgh made their first contribution in #1284
- @czhang03 made their first contribution in #1291
- @JamiKettunen made their first contribution in #1298
- @chitao1234 made their first contribution in #1296
Full Changelog: 1.7.0.1...1.7.1
1.7.0.1
Minor bugfix release
What's Changed
- install: fix version, Fix #1243 by @89luca89 in #1246
- minor: Updated Daudix's username by @GabsEdits in #1276
- distrobox-generate-entry: respect DBX_CONTAINER_MANAGER variable by @Meister1593 in #1269
- distrobox-init: do not fail if locale cannot be set by @phoppermann in #1267
- Don't create empty XAUTH* variables. by @mcepl in #1252
- Add DISTROBOX_EXPORT_PATH env var for distrobox-export. by @HugLifeTiZ in #1242
- distrobox-init: use "zypper se --match-exact" (instead of "zypper se -x") by @phoppermann in #1266
- Fix a nit. by @mcepl in #1277
- init: better detection of file watching trigger, Fix #1272
- enter: fix shell when entering initful container after Fix #1275
- export: fix quotes arount exported binary path
- upgrade: fix execution with new enter behavior
- enter: do not use a shell when executing a custom command, Fix #1275
- export: fix execution of binaries with spaces in the name
- rm: do not fail if no exports are found, Fix #1262
New Contributors
- @GabsEdits made their first contribution in #1276
- @Meister1593 made their first contribution in #1269
- @phoppermann made their first contribution in #1267
- @mcepl made their first contribution in #1252
- @HugLifeTiZ made their first contribution in #1242
Full Changelog: 1.7.0...1.7.0.1
1.7.0
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 ...