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?
unknown flag? looks correct, are you running a release candidate version?
re: pre-set paths, by default wherever the .exe path/config.yaml resides; however, the specific config variables are as follows:
storage2.order.path
storage2.trust.cache-path
server.revocation-dburl
log.output
“retain” .. I dunno, but again default.
Should be no need to “pre-set” any of those.
Parameters to container must go after image name. Before that – are parameters to docker. Docker does not know what --pieces.enable-lazy-filewalker is, it is not a valid parameter.
It told you pretty much the same verbatim in the error message you quoted, and suggested the fix.
And by default “orders”, “retain”, “trust-cache.json”, “revocations.db” & “config.yml” all files created in Node HDD instead of SSD.