Open ismell opened 6 years ago
The alpine-vim-base is working with custom uid/gid as long as /etc/passwd and /etc/group are mounted properly. It is strongly recommended to mount them as read-only. The bundle, however, will not be available. User resources/plugins have to be mounted if the extended capabilities are required.
As for the vim-bundle image, it is rather complicated to meet your request. The hardcoded permission has to be undone, and those vim resources/plugins have to be installed at the system level.
I'm trying to edit the contents of a volume, but I need uid = 100 and gid = nobody It would be nice if the container somehow respected docker run --user 100:nobody so I was able to edit my files with the correct permissions.