https://github.com/131/docker-dsexec
Remote docker socket exec
https://github.com/131/docker-dsexec
Last synced: 5 months ago
JSON representation
Remote docker socket exec
- Host: GitHub
- URL: https://github.com/131/docker-dsexec
- Owner: 131
- Created: 2023-12-21T11:38:16.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2024-04-12T22:02:28.000Z (about 2 years ago)
- Last Synced: 2024-04-14T05:45:28.501Z (about 2 years ago)
- Language: JavaScript
- Size: 35.2 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Motivation
**dsexec** is a cli helper to help you do a **d**ocker **s**ocket 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
* [131](https://github.com/131)