Closed buzai closed 6 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 ...
+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
@zyfdegh thank u very much
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.
$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.