While trying to execute docker run command with extra parameters I receive Unknown Flag error. For example
docker run -d --restart unless-stopped --stop-timeout 300 \
-p 28967:28967/tcp \
-p 28967:28967/udp \
-p 192.168.50.212:14001:14001 \
-e WALLET="0xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" \
-e EMAIL="xxxxx@gmail.com" \
-e ADDRESS="1xx.2xx.3xx.4xx:28967" \
-e STORAGE="6.5TB" \
--pieces.enable-lazy-filewalker=false \
--storage2.piece-scan-on-startup=true \
--user $(id -u):$(id -g) \
--mount type=bind,source=/mnt/storjnode_1/identity,destination=/app/identity \
--mount type=bind,source=/mnt/storjnode_1/data,destination=/app/config \
--name storagenode_1 storjlabs/storagenode:latest
I receive error
unknown flag: --pieces.enable-lazy-filewalker
Usage: docker run [OPTIONS] IMAGE [COMMAND] [ARG...]
Run 'docker run --help' for more information
How do I fix this?
Also how to pre-set the paths for “orders”, “retain”, “trust-cache.json”, “revocations.db” & “config.yml” before starting a new node?
Thank you!