Hello ,
I want to get filebeat on docker, i followed the instructions here : How to run Filebeat with Docker and use it with ELK stack
But when i try to run the Filebeat container using this configuration :
docker run -d --name=filebeat --user=root --network= "host" --volume= "$HOME/test-filebeat:/logs" --volume= "$HOME/filebeat.docker.yml:/usr/share/filebeat/filebeat.yml:ro" docker.elastic.co /beats/filebeat :7.10.2 filebeat -e --strict.perms= false
I get this error:
docker: Error response from daemon: create $HOME/test-filebeat: "$HOME/test-filebeat" includes invalid characters for a local volume name, only "[a-zA-Z0-9][a-zA-Z0-9_.-]" are allowed. If you intended to pass a host directory, use absolute path.
See 'docker run --help'.
If you can help me i will be grateful.

