mirror of
https://github.com/docker/docs.git
synced 2026-04-12 06:19:22 +07:00
Note the bug in tmpfs permissions
There is an open bug in tmpfs that results in permissions being reset on container restart. At this point it has tripped up quite a few people. This adds a hint about the issue, and a link to a the workaround we ultimately used (a functionality not mentioned elsewhere in the docs).
This commit is contained in:
committed by
GitHub
parent
785ec8c45f
commit
23ca913a40
@@ -28,6 +28,7 @@ persist in either the host or the container writable layer.
|
||||
* Unlike volumes and bind mounts, you can't share `tmpfs` mounts between
|
||||
containers.
|
||||
* This functionality is only available if you're running Docker on Linux.
|
||||
* Setting permissions on tmpfs may still suffer from a bug causing them to [reset after container restart](https://github.com/docker/for-linux/issues/138). In some cases [setting the uid/gid](https://github.com/docker/compose/issues/3425#issuecomment-423091370) can serve as a workaround.
|
||||
|
||||
## Choose the --tmpfs or --mount flag
|
||||
|
||||
|
||||
Reference in New Issue
Block a user