Docker: Difference between Volume and Mount

Does anyone know what the difference is between using “volume” and “mount type=bind,source=”?

Storj says “mount type=bind,source=” should be used, but many people use volume, what might affect the node?

Thank you

Feels like you should have typed that exact title elsewhere

Would you look at that, there is even a specific link to a docker documentation page with a deep link to the right section. :wink:

Here you go:


In the context of a storagenode though, volumes are dangerous. Since it doesn’t throw an error if your storage location isn’t available, but instead starts with no data and stores new data inside the container. This would lead to VERY quick disqualification.