dex
Convert Dalvik Executable (dex) to Java class
TLDR
Execute all programs in the autostart folders
Execute all programs in the specified folders
Preview the programs would be executed in a GNOME specific autostart
Preview the programs would be executed in a regular autostart
Preview the value of the DesktopEntry property Name
Create a DesktopEntry for a program in the current directory
Execute a single program (with Terminal=true in the desktop file) in the given terminal
SYNOPSIS
dex [options] command [arguments]
PARAMETERS
--image
Specifies the container image to use.
--network
Sets the network mode for the container (e.g., 'host', 'bridge').
--mount
Mounts a host directory into the container.
--name
Assigns a name to the container.
--rm
Automatically removes the container after execution.
--env
Sets an environment variable inside the container.
--help
Displays help information.
DESCRIPTION
Dex is a command-line tool to execute commands within a Linux container.
It simplifies the process of running applications in isolated environments without the overhead of full virtualization.
Dex uses features like namespaces and cgroups to create lightweight containers, providing a consistent and reproducible environment for your applications.
It is commonly used for development, testing, and deployment scenarios where application isolation is desired. Dex can be useful in setting up ephemeral testing environments to execute commands like unit tests or running command line tools in an isolated, reproducible manner.
CAVEATS
Dex requires container runtime environment to be installed and configured correctly on the host system. Ensure the required permissions are granted to execute container commands.
EXAMPLES
Run a command in a container: dex --image ubuntu:latest bash -c 'echo Hello from container!'
Mount a host directory: dex --image ubuntu:latest --mount /host/path:/container/path bash -c 'ls /container/path'