(error) ERR Invalid password #2462
Replies: 3 comments 5 replies
-
@epubreader You need to rewrite the entry point, can refer to: https://github.com/apache/kvrocks-controller/blob/unstable/scripts/docker/docker-compose.yml#L27 |
Beta Was this translation helpful? Give feedback.
-
The environment variable you set is inside the container, but here So it's due to your wrong use of shell. please try this: or you can add single quote mark to your |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
docker service create
--name kvrocks
--publish 6666:6666
--mount type=bind,source=/home/owner/docker/kvrocks/data,target=/data
--constraint 'node.labels.name==mongodb2'
--mode global
--restart-condition on-failure
--with-registry-auth
--env KVROCKS_MASTERAUTH=drycc
--env KVROCKS_REQUIREPASS=drycc
--env KVROCKS_DIR=/data
apache/kvrocks:2.9.0 --requirepass $KVROCKS_REQUIREPASS --masterauth $KVROCKS_MASTERAUTH
Run the auth command, then
(error) ERR Invalid password
Beta Was this translation helpful? Give feedback.
All reactions