docker Error response from daemon create logstash logstash includes invalid characters for a local volume name only a-zA-Z0-9 a-zA-Z0-9 - are allowed

0 votes

Hi Guys,

I am trying to launch one Docker container for Logstash, but it is showing me the below error.

[root@localhost ~]# docker run -itd --name ls1 -v logstash/:/myconf logstash:7.7.1
docker: Error response from daemon: create logstash/: "logstash/" 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'.
Jun 17, 2020 in Docker by akhtar
• 38,260 points
9,601 views

1 answer to this question.

0 votes
Hi@akhtar,

You may get this error if you didn't provide the right path to mount with a docker container. So I suggest you to check your mount path properly and try once again.
answered Jun 17, 2020 by MD
• 95,460 points

Related Questions In Docker

0 votes
1 answer
+2 votes
1 answer
+2 votes
1 answer

Deploy Docker Containers from Docker Cloud

To solve this problem, I followed advice ...READ MORE

answered Sep 3, 2018 in AWS by Priyaj
• 58,020 points
2,718 views
0 votes
1 answer

docker: Error response from daemon: No volume store named (default) exists.

Hi@akhtar, By default, vic-machine create does not create ...READ MORE

answered Apr 8, 2020 in Docker by MD
• 95,460 points
1,120 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP