Skip to content

Volume Folder Permission alway 1000:1000  #1

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

Activity

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