SaaShup / SaaShup/netbox-docker-agent
:sparkles: Send any kind of signal
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 43
- Forks
- 2
- Avg merge
- 40m
- Merged PRs (30d)
- 2
Description
Context
By default, the Docker Engine API sends the signal SIGKILL to the root process of the container. But the /kill endpoint (see documentation) can accept a signal query parameter, such that you could send signals like SIGINT, or more interestingly: SIGHUP or SIGUSR1.
Feature Request
The operation kill sends by default the signal SIGKILL just as before. But let's introduce operations kill.<SIGNAL NAME> so that the agent can extract the signal name from the operation string and pass it as a query parameter to the /kill endpoint.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the implementation of the kill operation and how it calls the Docker Engine API /kill endpoint. Trace how operation names are parsed, then verify that kill keeps the default behavior and kill.<SIGNAL NAME> passes the extracted signal as the query parameter.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker, javascript
- Domain
- api, backend
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 52/100