Incorrect rpcuser or rpcpassword


I ran some docker instance where the author chose not to write to a zcash.conf, so i'm having to grab the username and password from ps -ef.

When I run:

docker exec -it 00435817d099 zcash-cli -datadir=/zcash/data -rpcuser=norpc -rpcpassword='grepped-password' getwalletinfo

I get error: incorrect rpcuser or rpcpassword (authorization failed)

What am I doing wrong and how can I access my getwalletinfo?


Note my password contains some ! characters. Maybe something broke