I am trying to set up a small node and am stuck at the docker step. The storagenode configuration already exists. Is this a problem? How do I reset it?
$ sudo docker run --rm -e SETUP="true" \
--mount type=bind,source="/home/james/.local/share/storj/identity/storagenode/identity.cert",destination=/app/identity \
--mount type=bind,source="/mnt/2tb_small_slow/storj",destination=/app/config \
--name storagenode storjlabs/storagenode:latest
Unable to find image 'storjlabs/storagenode:latest' locally
latest: Pulling from storjlabs/storagenode
540db60ca938: Pull complete
f6c11adabdc6: Pull complete
b502df0d6243: Pull complete
01d6f78cefbe: Pull complete
83630a72ea85: Pull complete
6dfc05f6a585: Pull complete
Digest: sha256:8ef3de2a32ffdd23259ab0343aaf0fa1aa3c0c5b67bce9f1bbd904d607704463
Status: Downloaded newer image for storjlabs/storagenode:latest
2021-06-29T20:07:42.986Z INFO Configuration loaded {"Location": "/app/config/config.yaml"}
Error: storagenode configuration already exists (/app/config)
Note that the file mentioned as the configuration doesn’t seem to exist. I presume docker is using some relative path?
$ cat /app/config/config.yaml
cat: /app/config/config.yaml: No such file or directory