### Install dcx script Source: https://github.com/zoliszabo/dcx/blob/main/README.md Make the script executable and install it globally or for the current user. Requires Docker Compose v2 and jq. ```bash chmod +x dcx # Global installation (system-wide) sudo install dcx /usr/local/bin/dcx # User-only installation (current user) install dcx ~/.local/bin/dcx ``` -------------------------------- ### Usage examples for dcx Source: https://github.com/zoliszabo/dcx/blob/main/README.md Run dcx without arguments to show the selected container, or provide a command to execute in the matching container. Use --service to target a specific Compose service. ```bash # Show the selected container for the current directory dcx # Run a command in the matching container dcx python app.py # Run a command in a specific Compose service dcx --service web sh ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.