docker volume mounts with cached option
Solution 1
It may only have an effect on mac。 detail
Solution 2
:delegated
and :cached
flags are redundant since Docker Desktop 2.4.0.0 where gRPC FUSE file sharing is used by default.
Source: https://github.com/docker/for-mac/issues/5402
Glen Thompson
Reach out at: print(''.join([chr(x) for x in [ 103,108,101,110,100,111,110,116,104,111,109,112,115,111,110,49, 64, 103,109,97,105,108,46,99,111,109 ] ]))
Updated on August 12, 2022Comments
-
Glen Thompson over 1 year
Does adding
:cached
on a volume mount for mac performance tuning effect docker for windows volume mounts?I'm working on a team with both mac and windows machines and it seems to still work but want to see if anyone has more to add on this.
Here is the docker docs link https://docs.docker.com/docker-for-mac/osxfs-caching/
But they don't say thing about how it effects windows?
An example they give in their docs.
docker run -v /Users/yallop/project:/project:cached alpine command
Cheers.
-
Glen Thompson almost 6 yearsNice, thats it.
These options are completely ignored on all host operating systems except macOS.
From that link. Thank you! -
Gherman over 3 yearsThe link no longer has any mentions of
cached
. In fact I am searching for docs on this option for a lot of time now. Did it go deprecated?