An open API service indexing awesome lists of open source software.

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.

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`.