简体   繁体   中英

docker volume mounts with cached option

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.

: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

它可能只对mac。 细节产生影响

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM