I have been researching on how to start a Hydra node in devnet using Docker and I found this link with these two simple commands:
docker pull ghcr.io/input-output-hk/hydra-node:latest
docker run --rm ghcr.io/input-output-hk/hydra-node --help
The problem is that, when I execute this, I get:
hydra-node - A prototype of Hydra Head protocol
Usage: hydra-node [-q|--quiet] [-n|--node-id INTEGER] [-h|--host IP]
[-p|--port PORT] [-P|--peer ARG] [--api-host IP]
[--api-port PORT] [--monitoring-port PORT]
[--hydra-signing-key FILE] [--hydra-verification-key FILE]
[--network-id INTEGER] [--node-socket FILE]
[--cardano-signing-key FILE] [--cardano-verification-key FILE]
[--start-chain-from SLOT.HEADER_HASH] [--ledger-genesis FILE]
[--ledger-protocol-parameters FILE] [--version]
[--script-info]
Starts a Hydra Node
Available options:
-q,--quiet Turns off any logging
-n,--node-id INTEGER Sets this node's id
-h,--host IP The address this node listens on for Hydra network
peers connection (default: 127.0.0.1)
-p,--port PORT The port this node listens on for Hydra network peers
connection (default: 5001)
-P,--peer ARG A peer address in the form <host>:<port>, where
<host> can be an IP address, or a host name
--api-host IP The address this node listens on for client API
connections (default: 127.0.0.1)
--api-port PORT The port this node listens on for client API
connections (default: 4001)
--monitoring-port PORT The port this node listens on for monitoring and
metrics. If left empty, monitoring server is not
started
--hydra-signing-key FILE Our Hydra multisig signing key.
--hydra-verification-key FILE
Other party multisig verification key.
--network-id INTEGER A test network with the given network magic.
--node-socket FILE Local (Unix) socket path to connect to cardano node.
--cardano-signing-key FILE
Signing key for the internal wallet use for Chain
interactions.
--cardano-verification-key FILE
Cardano verification key of other Hydra participant's
wallet.
--start-chain-from SLOT.HEADER_HASH
The point at which to start on-chain component.
Defaults to chain tip at startup time.
--ledger-genesis FILE Path to a Shelley-compatible genesis JSON file.
--ledger-protocol-parameters FILE
Path to a JSON file describing protocol parameters
(same format as returned from 'cardano-cli query
protocol-parameters')
-h,--help Show this help text
--version Show version
--script-info Dump script info as JSON
This doesn't seem to start anything.
What is the correct way to start hydra-node
?