https://github.com/nerdo/dex
Finds a running docker container with the closest matching name and executes a command.
https://github.com/nerdo/dex
Last synced: 10 months ago
JSON representation
Finds a running docker container with the closest matching name and executes a command.
- Host: GitHub
- URL: https://github.com/nerdo/dex
- Owner: nerdo
- License: mit
- Created: 2021-01-29T17:20:48.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2021-04-30T21:50:37.000Z (about 5 years ago)
- Last Synced: 2025-09-17T06:55:47.439Z (10 months ago)
- Language: JavaScript
- Size: 51.8 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# @nerdo/dex
A commmand line utility that finds a running docker container with the closest matching name and executes a command on it.
## Installation
`npm i -g @nerdo/dex`
## Usage
`dex [command]`
`` can be the partial name of a container and is required.
`[command]` is optional, but defaults to `/bin/bash`. It can consist of a command with any number of arguments, e.g. `dex some-container ls -al`.