# docker-bash

> Connect to a container's CLI (bash) using only the image name (e.g. wordpress) rather than it's running container ID

Latest version **1.0.3** (published 2019-06-10) · ISC license · 0 weekly downloads

## Install

```sh
npm install docker-bash
pnpm add docker-bash
yarn add docker-bash
bun add docker-bash
```

Provides the command `docker-bash`.

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.3 |
| Published | 2019-06-10 |
| First published | 2019-06-10 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Unpacked size | 616.8 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Fabio Pampin |
| Maintainers | copperdust |
| Keywords | docker, container, connect, bash, cli, ssh |

## Links

- npm: https://www.npmjs.com/package/docker-bash
- npm.io page: https://npm.io/package/docker-bash

## Dependencies (2)

- [prompts](https://npm.io/package/prompts.md) ^2.1.0
- [fuzzball](https://npm.io/package/fuzzball.md) ^1.2.2

## Alternatives

- [@salesforce/cli](https://npm.io/package/@salesforce/cli.md) — 389.7K weekly downloads
- [@mintlify/cli](https://npm.io/package/@mintlify/cli.md) — 208.9K weekly downloads
- [@grafana/e2e-selectors](https://npm.io/package/@grafana/e2e-selectors.md) — 128.7K weekly downloads
- [mintlify](https://npm.io/package/mintlify.md) — 112.0K weekly downloads
- [@intlayer/cli](https://npm.io/package/@intlayer/cli.md) — 22.8K weekly downloads

## Recent versions

- 1.0.3 (latest) — 2019-06-10
- 1.0.2 — 2019-06-10
- 1.0.1 — 2019-06-10
- 1.0.0 — 2019-06-10

## README

# Docker (Easy) Bash

In order to install:

`npm install -g docker-bash`

***

![](https://raw.githubusercontent.com/Copperdust/docker-bash/master/example.gif)

***

This utility simplifies the process of running bash / SSHing into a container. In order to do so, just run the tool `docker-bash` and select which of the running containers you want to connect to. Alternatively, you can add a filter word to the command, e.g. `docker-bash db` and it will fuzzy-match/filter between the container NAMES (_not_ IDs). If it detects only one match, it'll connect to it automatically (it will ask for confirmation if the match is less than 100% certain), if there are multiple matches, it'll give you the option to select from the thinned down list.

---
_Source: https://npm.io/package/docker-bash · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
