freewil / bitcoin-testnet-box

Create your own private bitcoin testnet
MIT License
593 stars 273 forks source link

password for user 'tester' ? #26

Closed buzai closed 6 years ago

buzai commented 7 years ago

$sudo docker run -t -i -p 19001:19001 -p 19011:19011 freewil/bitcoin-testnet-box

when i run this , i come into this docker cmd, so i want apt get install vim , but it tell me i need some root ? so i use sudo ,but i dont know the tester user`s password.

buzai commented 7 years ago

RUN adduser --disabled-login --gecos "" tester i think this code let all people user this docker enter this is to be a tester but tester is a nologined user ,so ...

zyfdegh commented 7 years ago

+1 Same problem, I think it's unnecessary to add a new user called tester. It's OK to use root. I'll create a PR to simplify Dockerfile. @buzai

buzai commented 7 years ago

@zyfdegh thank u very much

freewil commented 6 years ago

There is discussion in #27 on whether user tester is necessary.

If I understand the issue correctly - you want to install additional software and/or modify the config from inside the docker container. My suggestion would be to modify the files from outside docker and then build the image/start the container.