-
Notifications
You must be signed in to change notification settings - Fork 166
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
Document how to run Agent and Fleet Server in docker #622
Comments
Brandon's notesSpin it upI was able to spin up Fleet Server in Docker with the help of the Fleet Server readme and an internal Slack thread. Here are the steps I followed:
Environment variablesEnvironment variables appear to be listed here: https://github.com/elastic/beats/blob/3ef90056bfb60b6d5e241c52d7ff9f9dd01baf30/x-pack/elastic-agent/pkg/agent/cmd/container.go#L61-L134. Need to chat with someone to learn more. DocsCopied from beats: https://gist.github.com/bmorelli25/e9600c4c7ba9880a15ec93f585cba55a |
@peasead shared this link. You might find the details in the script here to be useful: https://github.com/peasead/elastic-container |
I'm not sure if I overlooked it, but HTTPS is required when enrolling an agent in Fleet. If you don't use HTTPS, you get an error that says something like "error generated but error not recorded". Troubleshooting it was a The troubleshooting does say
My suggestion would be to clearly define, when setting the |
@peasead Did you try using the insecure flag? It looks like there is an env var called (The docs for env vars are being reviewed and will be merged soon) |
I did try the Seemingly, the |
Closed in #757. |
Summary
Document running Agent in Docker.
Document running Fleet Server in Docker.
Thoughts
It makes sense to both DeDe and I to have all Elastic Agent Docker docs in one place. We can document the steps for running Elastic Agent on Docker and add a section about Fleet Server to that page.
Related
The text was updated successfully, but these errors were encountered: