Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sample command to run severstats with docker #6

Closed
supriyopaul opened this issue Feb 22, 2018 · 1 comment
Closed

sample command to run severstats with docker #6

supriyopaul opened this issue Feb 22, 2018 · 1 comment
Labels
question-type Further information is requested

Comments

@supriyopaul
Copy link
Contributor

No description provided.

@supriyopaul supriyopaul added the question-type Further information is requested label Feb 22, 2018
@supriyopaul
Copy link
Contributor Author

supriyopaul commented Feb 22, 2018

Simple:
docker run --restart unless-stopped deepcompute/serverstats:1.0
With docker-file-plugin;
docker run --restart unless-stopped --log-driver file-log-driver --log-opt fpath=/serverstats/serverstats.log --detach deepcompute/serverstats:1.0
With docker-file-plugin so that logagg can pick it up logs from file if specified:
docker run --restart unless-stopped --label formatter=logagg_collector.formatter.basescript --log-driver file-log-driver --log-opt labels=formatter --log-opt fpath=/serverstats/serverstats.log --detach deepcompute/serverstats:latest

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question-type Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant