Loosing your data
One of the things we learned the hard way is that you need to use persistent volumes when you deploy your applications. The benefit of it is that you have control over where these volumes are stored. On our server have a separate physical volume where we store these volumes, thus keeping things organized.
You can install this on docker : https://github.com/MatchbookLab/local-persist
After you have done this, you can now select the driver \”local persist\” in Portainer when crating a volume.