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'.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.