dsexec

2.3.0 • Public • Published

Motivation

dsexec is a cli helper to help you do a docker socket exec in a docker service. dsexec will lookup running docker swarm service tasks of the requested service, configure a DOCKER_HOST (checking known host & co) context to the remote docker-socket, and spawn you a docker exec of the requested shell.

Installation & Usage

# in a docker swarm context
npm install -g dsexec
dsexec [service_name] [shell=/bin/bash]


# make sure you have a docker-socket service available and deployed to all nodes.

Credits

Dependencies (3)

Dev Dependencies (5)

Package Sidebar

Install

npm i dsexec

Weekly Downloads

54

Version

2.3.0

License

ISC

Unpacked Size

9.88 kB

Total Files

6

Last publish

Collaborators

  • 131