Skip to content

run image as a non 1000 user prevent from editing files #1

@zesk06

Description

@zesk06

TL;DR: Do you have any hint on using this technique if you user is not 1000?

Context:
I am a docker-vim person like you, and i ended up with many plugins, and also wrote a Dockerfile to make my dev env 'portable' in a docker image.
But, I struggle with the uid defined in the Dockerfile, usually 1000 like yours.
My uid is not the same on every computer which prevent from mounting current PWD to a volume for edition within the container.
So I ended up adding a variable to the Dockerfile MUID, and creating as many docker image as I have different UID.
See Dockerfile

Do you have the same issue with UID?
Do you see any solution?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions