|
|
|
|
|
by ctroein89
1425 days ago
|
|
> As a cross-platform compatibility layer We use docker in this way for work, and it’s merely okay. We use docker to bundle the environment (which changes rarely) separate from the code and build system (which changes often). For this, docker has been great for 95% of all our internal users: way more than a makefile helped, but the remaining 5% were a huge pain. The most recent issue was the in-docker user having a different id from the local user, which isn’t a problem on macOS but is on Ubuntu. At the point where docker made sense as a compatibility layer, it was trivial to convert the whole system into a service running on Kubernetes. |
|
Probably the mount id mapping added in the linux kernel can be a way to resolve problem when user in docker and host have different id.
Although I don't know whether the system utils / docker command have integrated it or not yet.
https://lwn.net/Articles/837566/