Skip to content

Latest commit

 

History

History
27 lines (19 loc) · 958 Bytes

distrobox-enter.md

File metadata and controls

27 lines (19 loc) · 958 Bytes

Enter the distrobox

distrobox-enter takes care of entering the container with the name specified. Default command executed is your SHELL, but you can specify different shells or entire commands to execute. If using it inside a script, an application, or a service, you can specify the --headless mode to disable tty and interactivity.

Usage:

distrobox-enter --name fedora-toolbox-35 -- bash -l
distrobox-enter my-alpine-container -- sh -l

Supported environment variables:

DBX_CONTAINER_NAME

Options:

--name/-n:		name for the distrobox						default: fedora-toolbox-35
--/-e:			end arguments execute the rest as command to execute at login	default: bash -l
--headless/-H:		do not instantiate a tty
--help/-h:		show this message
--verbose/-v:		show more verbosity
--version/-V:		show version

This is used to enter the distrobox itself. Personally, I just create multiple profiles in my gnome-terminal to have multiple distros accessible.