docker-bash
v1.0.3
Published
Connect to a container's CLI (bash) using only the image name (e.g. wordpress) rather than it's running container ID
Downloads
10
Maintainers
Readme
Docker (Easy) Bash
In order to install:
npm install -g docker-bash
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.