Skip to content
This repository has been archived by the owner on Jan 5, 2022. It is now read-only.
/ docker-supervise Public archive

A simple tool to automatically restart certain containers should they die.

Notifications You must be signed in to change notification settings

robxu9/docker-supervise

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

docker-supervise

Monitors containers via name and automatically restarts those that die.

Building:

It is probably a good idea to use go get -u to retrieve this package, as it also downloads all the necessary dependencies to build it.

Usage:

DOCKER_HOST: path to docker socket/port/etc

HTTP API:

/: list of containers being monitored (JSON array of container names) GET: list of containers being monitored (JSON array of container names) POST: takes 'id':'[id or name]', and begins to monitor it. /{id or name}: GET: get configuration of container [404 if not monitored] DELETE: do not monitor this container anymore

OS X Users:

I'll leave this here.

About

A simple tool to automatically restart certain containers should they die.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published