If a user is just following these commands, the -v /data needs to be added so it works.
The /var/www/project is what is used in the docker compose snippet, so it seems the text should refer to that.
One thing to note which is that with these examples the /unison volume gets mounted along $UNISON_DIR. This is because the Dockerfile creates this /unison volume and volumes-from mounts that volume along with the /data or /var/www/project volume.
If a user is just following these commands, the
-v /data
needs to be added so it works. The /var/www/project is what is used in the docker compose snippet, so it seems the text should refer to that.One thing to note which is that with these examples the
/unison
volume gets mounted along$UNISON_DIR
. This is because the Dockerfile creates this/unison
volume and volumes-from mounts that volume along with the/data
or/var/www/project
volume.