Files
bobbie-pkm/_Inbox/2026-05-15 0719 on docker compose, volumes, and bind mounts.md
T

19 lines
607 B
Markdown

---
category:
- "[[Journal]]"
type:
- "[[Log]]"
title: on docker compose, volumes, and bind mounts
created: 2026-05-15T07:19:07
date: 2026-05-15
tags:
---
[[[[docker|docker]]|docker]] storage is split into two main groups
- volumes
- bind mounts
### volumes
these are in the `vollumes:` section at the base of the compose file. these are managed by docker. They are for the containers databases, internal caches, or application state--where permission and io are important
### bind mounts
these are specified in the body of the compose file and are for everything else, configs, static(ish) data, etc.