Container Volume - CI/CD用語集の定義
ボリュームは container に接続されたストレージであり、container の書き込み可能レイヤーの外部にデータを永続化するため、container が削除または置換されてもデータは残ります。
CIにおいて
CI では、job 間で依存関係の cache を共有したり、テストデータベースを永続化したりするためにボリュームをマウントすることがよくあります。container のファイルシステムは終了時に破棄されるため、run より長く存続する必要があるものはボリュームに配置します。
関連ガイド
Bind Mount - CI/CD Glossary DefinitionBind Mount: A bind mount maps a specific file or directory on the host directly into a container. The contain…
Containerization - CI/CD Glossary DefinitionContainerization: Containerization packages an application together with its dependencies into an isolated, p…
Cache (CI) - CI/CD Glossary DefinitionCache (CI): A **cache** stores dependencies or build outputs between runs so they are restored instead of rec…