ERROR: Named volume "home/kevin/appdata/kitana:/app/data:rw" is used in service "kitana" but no declaration was found in the volumes section.
kevindd992002 opened this issue · 7 comments
Here's the contents of my docker-compose.yml file but it is not working when I do a docker-compose up -d
kitana:
image: pannal/kitana:latest
container_name: kitana
volumes:
- home/kevin/appdata/kitana:/app/data
ports:
- "31337:31337"
dns:
- 192.168.20.100
restart: unless-stopped
environment:
- PUID=${PUID}
- PGID=${PGID}
- TZ=Asia/Manila
ERROR: Named volume "home/kevin/appdata/kitana:/app/data:rw" is used in service "kitana" but no declaration was found in the volumes section.
I have several docker containers with the same structure in the same docker-compose.yml running without issues. What could cause this?
Did you ever try to install Kitana before?
Nope, this is the first time I'm trying to install it. I saw that you have a docker container for it so I went for it.
I remember using another program for this or something.
smells like it.
If not, this seems like a user error, nothing Kitana is related to.
I remember using another program for this or something.
smells like it.
When I said that, I was referring to remembering about reading about Kitana in the past. But I did not know how to use docker back then. But now that I 100% use docker for everything, it was easier for me to use it.
The config you posted above has an indentation error.
Also, maybe this might help? ClusterHQ/dvol#67
Nevermind, it worked now. I don't know exactly why but I rewrote everything in the docker-compose.yml file and it worked. It's probably the spacing again.