Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/j3k0/docker-runner

Start a docker container, stop it on SIGTERM, kill it on SIGKILL.
https://github.com/j3k0/docker-runner

Last synced: 22 days ago
JSON representation

Start a docker container, stop it on SIGTERM, kill it on SIGKILL.

Awesome Lists containing this project

README

        

# docker-runner
Start a docker container, stop it on SIGTERM or SIGHUP.

## Usage

Start a container (all options are sent to docker run)

docker-runner debian:latest sleep 3000 &

Stop the container

kill $!