In the geth console I am trying to add an account :

> personal.newAccount()

but I am getting the following error :

liner: function not supported in this terminal

What does this mean and how do I fix it.

Note: I am running my node via the docker container


The code for this error has a comment that says :

// PasswordPrompt is not supported in this OS.

I suspect that the docker container setup doesn't allow passwords to be typed in.
This issue can be avoided by providing the password parameter:

> personal.newAccount('myNewPassword')
| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.