Docker - Elastic Agent - must be provided as an absolute path

Hi, this seems inconsistent. I can reference value for all variables in the docker compose using relative paths. Like in the official Elastic Docker guide:

xpack.security.http.ssl.key=certs/es01/es01.key

However, I cannot do the same with variables for docker.elastic.co/beats/elastic-agent.

If I set, say, - FLEET_SERVER_ELASTICSEARCH_CA=certs/ca/ca.crt. Then I get in the log:

Error: --fleet-server-es-ca must be provided as an absolute path

And yes, I'm mounting the same volume which is shared with ES node.

    volumes:
      - certs:/usr/share/elasticsearch/config/certs
      - /var/run/docker.sock:/var/run/docker.sock:ro

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.