Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ERROR: Named volume "home/kevin/appdata/kitana:/app/data:rw" is used in service "kitana" but no declaration was found in the volumes section. #38

Closed
kevindd992002 opened this issue Apr 13, 2020 · 7 comments

Comments

@kevindd992002
Copy link

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?

@pannal
Copy link
Owner

pannal commented Apr 13, 2020

Did you ever try to install Kitana before?

@kevindd992002
Copy link
Author

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.

@pannal
Copy link
Owner

pannal commented Apr 13, 2020

I remember using another program for this or something. smells like it.

@pannal
Copy link
Owner

pannal commented Apr 13, 2020

If not, this seems like a user error, nothing Kitana is related to.

@kevindd992002
Copy link
Author

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.

@pannal
Copy link
Owner

pannal commented Apr 13, 2020

The config you posted above has an indentation error.
Also, maybe this might help? ClusterHQ/dvol#67

@kevindd992002
Copy link
Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants