docker-term

1.1.5 • Public • Published

docker-term

A simple node script that list all running containers and exec a user-defined command (/bin/bash by default) by calling docker exec -ti <container> <user-command> docker command.

Install

$ npm install -g docker-term

Usage

docker-term [--spawn]

Note: The --spawn option is a Linux only option and assumes gnome-terminal is installed on your system. It runs docker exec -ti <container> <user-command> on a new gnome-terminal session.

$ docker-term

? Select a container:
  neo4j
  rabbitmq
  redis
❯ mysql
  proxy
  --> Exit <--
(Move up and down to reveal more choices)

Dependencies (3)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i docker-term

    Weekly Downloads

    5

    Version

    1.1.5

    License

    GPL-3.0

    Unpacked Size

    38.8 kB

    Total Files

    4

    Last publish

    Collaborators

    • eliv