Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

interiorem/stout

Repository files navigation

Stout is external isolation plugin for Cocaine Cloud.

Configuration file

See configuration example:

{
 "version": 2,
 "metrics": {
 "type": "graphite",
 "period": "10s",
 "args": {
 "prefix": "cloud.env.{{hostname}}.cocaine_isolate_daemon",
 "addr": ":12345"
 }
 },
 "logger": {
 "level": "debug",
 "output": "/dev/stdout"
 },
 "endpoints": ["0.0.0.0:29042"],
 "debugserver": "127.0.0.1:9000",
 "mtn": {
 "enable": false,
 "allocbuffer": 4,
 "label": "somelabelforallocation",
 "ident": "someidentforallocation",
 "url": "http://net.allocator.service.local/api",
 "headers": {
 "Authorization": "OAuth youroauthkeyfornetallocator"
 },
 "dbpath": "/path/to/state/db",
 "allowlocalstate": false
 },
 "isolate": {
 "porto": {
 "type": "porto",
 "args": {
 "layers": "/tmp",
 "cleanupenabled": true,
 "setimgurl": false,
 "weakenabled": false,
 "gc": true,
 "waitloopstepsec": 5,
 "journal": "/tmp/portojournal.jrnl",
 "containers": "/tmp",
 "registryauth": {
 "registry.your.domain": "OAuth youroauthkeyforregistry"
 }
 }
 },
 "docker": {
 "type": "docker",
 "args": {
 "registryauth": {
 "registry.your.domain": "authdatafordockerdaemon"
 }
 }
 },
 "process": {
 "type": "process"
 }
 }
}

Build

go get -u github.com/interiorem/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/interiorem/stout/cmd/stout

Run it

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

About

External isolation daemon for Cocaine Cloud

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

Languages

AltStyle によって変換されたページ (->オリジナル) /