Skip to content

Issue with permissions using docker compose #287

Closed

Description

@bearded-papa

When using the webserver and trying to add a new recipe it say "Failed to create directory"

The logs say

ERROR Failed to create directories: Permission denied (os error 13)

I have tried changing the folder permissions to several options including the root and my user but with no change

Activity

  1. torreto71 commented on Mar 30, 2026

    @torreto71

    You have to add user:group in docker_compose.yaml.

    services:
    cookcli:
    image: ghcr.io/cooklang/cookcli:latest
    container_name: cooklang
    user: "1000:1000"
    ports:
    - "9080:9080"
    volumes:
    - ./recipes:/recipes
    restart: unless-stopped

  2. added a commit that references this issue on Mar 30, 2026
    af5a1ee
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions