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

Consider conf.d as a volume and adding extras #3

Closed
andyshinn opened this issue Jun 14, 2014 · 2 comments
Closed

Consider conf.d as a volume and adding extras #3

andyshinn opened this issue Jun 14, 2014 · 2 comments

Comments

@andyshinn
Copy link

To alleviate the need to build intermediate images, it might be nice to allow for /etc/dd-agent/conf.d as a persistent volume and then install some commonly required libraries (python-mysqldb, python-redis, python-rrdtool) by default.

You can then create a host directory and have YAML configurations located at ~/datadog and run the container using volumes:

$ docker run -d --privileged --name dd-agent -h $(hostname) -e API_KEY=513146123a50b321fc38548e317629ea -v /home/ubuntu/datadog:/etc/dd-agent/conf.d datadog/docker-dd-agent
@LotharSee
Copy link
Contributor

The next release of the Agent (5.0) will include all the common dependencies. So you will be able to set the config with the default image + volumes when the Agent will be self-contained (in a few weeks).

@LotharSee
Copy link
Contributor

Done: the Agent 5.0 is self-contained and already contains all the stuff that you may need!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants