知识卡片

普通读书笔记卡 · 6797 · 生成模型:GPT-6

挂载目录决定容器数据保留位置

理解等级:中级

bind mount把主机目录映射进容器,映射范围内的写入会反映到主机。容器退出是否丢数据取决于实际存储方式,不能把镜像环境与数据持久化混为一谈;保存历史也要确认没有凭据。

这张卡片看不懂?

已有反馈 · 0 条

    还没有人提交反馈。

    在整书笔记中的位置

    原书出处 · 1 处

    • · 查看原书依据

      To get started, you just need to clone the nlpia2 repository and then run the Docker container to launch a Jupyter Notebook server. Make sure you put this nlpia2 repository somewhere on your machine where you store all your software because it will create shared volumes (folders), where you can pass data and code between your container and your host operating system. Optionally, if you

    参考来源

    - 位置:《Natural Language Processing in Action, Second Edition》附录A《附录A:NLP工具》(来源项目:a19c7933-4eda-4176-aebd-30fe7e1ad292;源文件:extracted/Natural Language Processing in Action, Second Edition/_epub-src/OEBPS/Text/appendix-a.html) - 结论依据:摘录中关于挂载目录决定容器数据保留位置的定义、比较或条件支撑卡片;原书表述不严谨的范围已在覆盖记录逐项限定,不把案例结果外推为普遍结论。 - 原始内容:To get started, you just need to clone the nlpia2 repository and then run the Docker container to launch a Jupyter Notebook server. Make sure you put this nlpia2 repository somewhere on your machine where you store all your software because it will create shared volumes (folders), where you can pass data and code between your container and your host operating system. Optionally, if you