For self-hosting purposes, Docker = lightweight disposable VMs that are configured via docker-compose.yml. All important data should be in “volumes”, which are just shared folders between the host and the container.
The end result is that you can delete and re-create containers at any time and they should just pick up where they left off from the data that’s in these volumes.
Each individual published image has some paths they want to use for that; everything is usually specified in their example docker-compose files.
If you’re not a dev, don’t even try to understand Dockerfiles, it’s not for you.
For self-hosting purposes, Docker = lightweight disposable VMs that are configured via
docker-compose.yml
. All important data should be in “volumes”, which are just shared folders between the host and the container.The end result is that you can delete and re-create containers at any time and they should just pick up where they left off from the data that’s in these volumes.
Each individual published image has some paths they want to use for that; everything is usually specified in their example docker-compose files.
If you’re not a dev, don’t even try to understand Dockerfiles, it’s not for you.