知识卡片
运行时卷不会自动加速构建
运行容器挂载的命名卷只在运行时可见,不能直接替代Dockerfile构建阶段RUN的cache mount。原书将两段配置并列为同等构建缓存不充分;应明确安装实际发生在哪个阶段及产物如何进入最终镜像。
这张卡片看不懂?
这张卡片已通过人工审查,不再接受失败反馈。
已有反馈 · 0 条
还没有人提交反馈。
在整书笔记中的位置
原书出处 · 1 处
- · 查看原书依据
cache volume. In addition to dependencies, you can also cache other downloaded artifacts, such as pretrained models and data. The ability to name the cache volume makes it easier to understand what’s going on, as well.
参考来源
- 位置:《Effective Machine Learning Teams (David Tan, Ada Leung, David Colls)》第03章《依赖管理的原则与工具》(来源项目:a19c7933-4eda-4176-aebd-30fe7e1ad292;源文件:extracted/Effective Machine Learning Teams (David Tan, Ada Leung, David Colls)/_epub-src/OEBPS/ch03.html)
- 结论依据:摘录中关于运行时卷不会自动加速构建的定义、比较或条件支撑卡片;原书表述不严谨的范围已在覆盖记录逐项限定,不把案例结果外推为普遍结论。
- 原始内容:cache volume. In addition to dependencies, you can also cache other downloaded artifacts, such as pretrained models and data. The ability to name the cache volume makes it easier to understand what’s going on, as well.