Can't start the proof server - m4xshen

What are you trying to do?
I’m trying to start the proof server locally

What’s not working or unclear?
I’m following Midnight Docs to run the proof server. However when I run docker run -p 6300:6300 midnightnetwork/proof-server -- 'midnight-proof-server --network testnet' i got the following error:

error: unexpected argument '--network' found

  tip: a similar argument exists: '--num-workers'

Usage: midnight-proof-server --num-workers <NUM_WORKERS>

For more information, try '--help'.

What have you tried so far?

Add any relevant code or error messages.

2 Likes

In the newest version of the proof server we no longer requiring '' when specifying arguments. You an run it by running docker run -p 6300:6300 midnightnetwork/proof-server – midnight-proof-server --network testnet

2 Likes

Thanks for bringing it to our attention, we’ll work on updating the docs.

2 Likes

Can you tell me how you navigated to this page?

1 Like

Hi Jay, the following pages still have the old command snippet: Midnight Docs , Midnight Docs

2 Likes

I just opened a PR to fix all old command in docs: fix: remove invalid quotes from docker proof-server command by m4xshen · Pull Request #478 · midnightntwrk/midnight-docs · GitHub Please review, thank you!

2 Likes