docs: fix Docker db-access troubleshooting example (#20483)

This commit is contained in:
phrwlk
2025-12-18 22:13:01 +02:00
committed by GitHub
parent 429d13772e
commit 41ce3d3bbf

View File

@@ -24,7 +24,7 @@ This page tries to answer how to deal with the most popular issues.
Externally accessing a `datadir` inside a named docker volume will usually come with folder/file ownership/permissions issues.
**It is not recommended** to use the path to the named volume as it will trigger an error code 13. `RETH_DB_PATH: /var/lib/docker/volumes/named_volume/_data/eth/db cargo r --examples db-access --path ` is **DISCOURAGED** and a mounted volume with the right permissions should be used instead.
**It is not recommended** to use the path to the named volume as it will trigger an error code 13. For example, `RETH_DATADIR=/var/lib/docker/volumes/named_volume/_data/eth cargo run -p db-access` is **DISCOURAGED** and a mounted volume with the right permissions should be used instead.
### Error code 13