Define volumes in your docker containers

Post your evernode tutorials and ideas here!

Moderator: EvrSteward

Post Reply
wroomwroom
Posts: 25
Joined: Wed Jul 31, 2024 5:59 pm

Define volumes in your docker containers

Post 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/"]
Post Reply