shepherd

command module
v0.3.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 25, 2021 License: BSD-3-Clause Imports: 1 Imported by: 0

README

ShepherD

ShepherD removes exited containers, with a grace time.

ShepherD talks to Sentry when a container is closed with an exit code =! 0.

Help

$ ./bin/shepherd -h
shepherd cleans the mess

Usage:
  shepherd [command]

Available Commands:
  event       Displays the report for a container, as it should be sent to Sentry
  help        Help about any command
  version     Version of shepherd
  watch       Watch docker and clean its mess

Flags:
  -h, --help   help for shepherd

Use "shepherd [command] --help" for more information about a command.
$ ./bin/shepherd watch --help
Watch docker and clean its mess

Usage:
  shepherd watch [flags]

Flags:
  -a, --admin string    Listen admin http address (default "localhost:4012")
  -c, --config string   config file
  -h, --help            help for watch

Build it

make build

In a CI, or cross compiling

make docker-build

License

3 terms BSD License

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL