This is just an example docker-compose file, where I am trying to create a container out of it. The problem I am getting while building a container is the below error
"service "redis" refers to undefined volume abcdrf/: invalid compose project"
Please can anyone help me what is wrong happening in this case.
Below is my example docker-compose file code...
version: '2'
services:
redis:
image: redis:2
volumes:
- abcdrf/:/.
command: "redis-server --notify-keyspace-events Ex"
volumes:
abcdrf: