Page 1 of 1

Define volumes in your docker containers

Posted: Sat May 16, 2026 3:11 am
by wroomwroom
You need to make sure to define volumes in your docker container so you don't lose any data during reboots.

Example of something to add to your Dockerfile that would keep your home files.
VOLUME ["/home/"]