Open drewstone opened 4 years ago
you need to expose the ports via the -p option
ie.
docker run -p 8080:8080 xxxxx
this tells docker to bind the 8080 port of the container to the 8080 port of host's localhost
Yea I did run with that too, same as the instructions, no?
On Sat, Oct 5, 2019 at 1:24 AM Jonathan Underwood notifications@github.com wrote:
you need to expose the ports via the -p option
ie.
docker run -p 8080:8080 xxxxx
this tells docker to bind the 8080 port of the container to the 8080 port of host's localhost
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/bitcoinjs/regtest-server/issues/9?email_source=notifications&email_token=ADELLF6IGNW5OLE7KL3ELOLQM67BZA5CNFSM4I5TANM2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEANBCGY#issuecomment-538579227, or mute the thread https://github.com/notifications/unsubscribe-auth/ADELLF5LN43ALS7WY33HOYLQM67BZANCNFSM4I5TANMQ .
run
sudo netstat -tulpn
and see if anything is listening to localhost 8080 and what process it is.
With the full command I get: netstat: n: unknown or uninstrumented protocol
With partial commands I do not see any localhost.
If I try to run the docker run command again I get:
docker: Error response from daemon: driver failed programming external connectivity on endpoint goofy_jang (<NUM>): Bind for 0.0.0.0:8080 failed: port is already allocated.
Are you using the image from docker hub or did you build it yourself?
I built it myself after cloning this repo.
try using the image from docker hub.
let me know what happens
I setup the docker instance as documented, it seems to be running, though I cannot connect or run my own tests.