Skip to content

Error access denied when using persistant volumes in docker #1885

@paschki0n

Description

@paschki0n

Hi,
I'd like to run semaphoreui in docker with persistant volumes for config and tmp.

I would normally specify in compose.yml the user/group id under which the container should run and the path.

... user: "${UID}:${GID}" volumes: - /path_to_folder/config/:/etc/semaphore:rw - /path_to_folder/tmp/:/tmp/semaphore:rw ...
I've not been able to use persistance volumes as the user semaphore does not exist on the host running docker and therefor has no access to the folder. Using UID/GID causes problems with the container setup as the user ID is 1001, not knowing the UID/GID I pass to the container.
Any advise who to fix this would be welcome ?
Thanks

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions