How to access ethereum/client-go shell outside docker container

  docker, ethereum, go-ethereum

I have just started learning Blockchain and following a YouTube tutorial . In that tutorial he installed ethereum by cloning the repo , but I have installed the ethereum/go-client using docker as per the instructions given in official documentation . I am beginner to Docker too . When I run the docker container using docker run -it -p 30303:30303 ethereum/client-go command , my terminal looks like this :-
enter image description here

Now I want to make an account using personal.newAccount() command . But where I should run this command ? Container is not providing me any shell where I can run this command .

I have searched about this lot on internet but doesn’t get a solution , all of them is showing how to install geth using docker only .

Please help me . I have just started learning blockchain .

Thank

Source: Docker Questions

LEAVE A COMMENT