20 lines
576 B
Markdown
20 lines
576 B
Markdown
---
|
|
category:
|
|
- "[[Note]]"
|
|
type:
|
|
- "[[Linux]]"
|
|
title: Docker
|
|
created: 2026-05-15T07:19:07
|
|
tags:
|
|
---
|
|
## on docker storage; volumes vs bind mounts
|
|
|
|
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. |