+
+### Volumes and data persistence
+Data can be persisted by [using volumes](https://docs.docker.com/storage/volumes/).
+Volumes allow to keep your data when renewing and/or updating container images:
+
+```shell
+# Create data volumes
+$ docker volume create shaarli-data
+$ docker volume create shaarli-cache
+
+# Create and start a Shaarli container using these volumes to persist data
+$ docker create \
+ --name shaarli \
+ -v shaarli-cache:/var/www/shaarli/cache \
+ -v shaarli-data:/var/www/shaarli/data \
+ -p 8000:80 \
+ shaarli/shaarli:master
+$ docker start shaarli
+```