txpipe / dolos

Cardano Data Node
https://dolos.txpipe.io
Apache License 2.0
65 stars 18 forks source link

Unexpected Argument Error when Using --config with Dolos Daemon Command #214

Closed verbotenj closed 2 months ago

verbotenj commented 4 months ago

Docs

docker run -it --rm --entrypoint bash ghcr.io/txpipe/dolos:v0.7.0
root@dc01d2acbf61:/# dolos daemon --config /my/custom/location/dolos.toml
error: unexpected argument '--config' found

  tip: to pass '--config' as a value, use '-- --config'

Usage: dolos daemon [CONFIG]
alekswithakayy commented 3 months ago

To run dolos I use:

dolos dolos.toml daemon
scarmuega commented 2 months ago

since v0.9, Dolos will either take the --config arg explicitly or assume that a dolos.toml file exists in the same folder.