When runnning a Zebra node using Docker without a privileged user, you won't be able to modify some files and directories, not even the ones in the current directory, as the `zebra` user has no permission to `/`. The best way to solve this is making the `/opt/zebrad` the current `WORKDIR`. This also requires moving the `entrypoint.sh` from the root `/` directory to `/etc/zebrad` as this directory is used to save configuration, and other files. An `APP_HOME` ARG is used as not all platforms where a Docker container is deployed allows writting permissions to the `/opt` directory. This allow some users to re-build the image with a custom `WORKDIR` |
||
---|---|---|
.. | ||
zcash-lightwalletd | ||
.env | ||
Dockerfile | ||
docker-compose.lwd.yml | ||
docker-compose.test.yml | ||
docker-compose.yml | ||
entrypoint.sh | ||
test.env |