Section: Volumes and Mounts
Create volume
bash
bash
docker volume create pgdataExplanation
Useful for databases and persistent application state.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing Volumes and Mounts
Create container without starting
Create a container but do not start it yet.
Show Docker system info
Display engine-wide diagnostic and configuration information.