Skip to content

← All questions

Where does the Docker image keep its data, and what happens without the volume?

Example threads. These questions and answers were written by the SDODS team to document real problems and how to fix them. The people named are illustrative, not real users. Questions asked on this site are marked new.

The documented run command has -v sdods-data:/data in it. I dropped it to try the UI quickly, created a couple of things, and after a restart they were gone.

I assume that is the volume doing its job and I removed it. Before I put it back properly — what exactly lives in there, and can I point it at a directory instead of a named volume?

2 answers

Know the answer?

Wrap commands and output in triple backticks and they will render as a code block.

Checking whether you’re signed in…

Have a different question? Ask it.

Related