/stout

External isolation daemon for Cocaine Cloud

Primary LanguageGoGNU Lesser General Public License v3.0LGPL-3.0

Stout Build Status codecov.io

Stout is external isolation plugin for Cocaine Cloud.

Configuration file

See configuration example:

{
    "logger": {
        "level": "debug",
        "output": "/dev/stderr"
    },
    "endpoints": ["0.0.0.0:29042"],
    "debugserver": "127.0.0.1:9000",
    "isolate": {
        "docker": {
            "endpoint": "unix:///var/run/docker.sock",
            "version": "v1.19",
            "concurrency": 10
        },
        "process": {
            "spool": "/var/spool/cocaine",
            "locator": "localhost:10053"
        }
    }
}

Build

go get -u github.com/noxiouz/stout/cmd/stout
cd $GOPATH/src/github.com/noxiouz/stout
go build -o cocaine-isolate-daemon cmd/stout/main.go

if $GOPATH/bin is added to $PATH, you can use:

go install github.com/noxiouz/stout/cmd/stout

Run it

cocaine-isolate-daemon -config=path/to/config.conf