Skip to content

Volume Folder Permission alway 1000:1000  #1

@leyume

Description

@leyume

Hello

I really like you approach to alpine docker image creation and have been using it for a while now. Well done on the great work.

I am not sure if this is an issue, but there this challenge I have. I can't seem get my volume folders to be in the GID/UID to change after running the image. It always give me 1000:1000 while the user I use to run the docker cmd is 1022:1002.

What should I do to resolve this?

-rw-rw-r-- 1 1022 1002 335 Aug 4 14:24 docker-compose.yml
drwxrwxr-x 3 1000 1000 4096 Aug 4 14:30 nginx
drwxrwxr-x 2 1000 1000 4096 Aug 4 14:30 www

How can I get 1022:1002 for nginx and www?

Thank you again

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