How do I add :cached or :delegated into a docker

Title says it all. I've got a few volumes set up as readonly ( :ro ) but want to test :cached and :delegated for helping with file i/o performance, but couldn't figure out how to set this up in a compose file.

Oh, I already tested:

volumes: - external:internal:cached


I was not running new enough (edge channel) version of Docker so the commands did not work. After upgrading, everything worked as expected.

链接地址: http://www.djcxy.com/p/39400.html

上一篇: 将Apple的个人开发者帐户更改为组织

下一篇: 如何添加:缓存或:委托到泊坞窗中