It is developer documentation. See user documentation.
yarn docker-images
-
We use named data volume instead of mounted host directory to store
node_modules
because NPM is unreliable and NPM team doesn't want to fix it.${PWD##*/}-node-modules
is used as name of data volume — it is your current directory name (e. g.foo
) and suffix-node-modules
.As downside, you have to manually clear outdated data volumes, use
docker volume rm your-name
.