-
Notifications
You must be signed in to change notification settings - Fork 11.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Start sui-test-validator (local network) inside docker container #15279
Comments
The change was merged. @thaonx let us know if it does not work as expected! |
@thaonx @stefan-mysten I am using the latest code and this problem still exists. Have you verified it?
|
@qpb8023 thanks for raising this up. I have not tried it, can you provide a dockerfile? |
@stefan-mysten start command
|
Thanks @qpb8023, I'll look into it. |
I don't have a cloud server to try, but running it locally on commit
And doing a
When you say local access to the server and access through the external network are still unavailable, which local access are you referring to, and what server? Are you saying that when issuing the command on the server you cannot query the network? |
@stefan-mysten Sorry, my statement is wrong. I compiled the latest sui-test-validator (commit: db37e3c) on the server with the IP address
I execute on the server with IP address 192.168.6.6
This is ok, but I execute |
hi @qpb8023, I havn't tried this yet, still waiting for the release. But I have found alternative solution to start a Localnet in docker. Just run |
In the near future we will merge the two commands as it is a bit confusing to users. |
I also start faucet in
Either or you can start seperate container for |
@thaonx @stefan-mysten Run sui genesis then sui start its ok, but |
Thanks for confirming this. We have some upcoming work on these commands, so I put a note to have a look at this! |
I'm also running into this issue. It says: local-sui-1 | Fullnode RPC URL: http://127.0.0.1:9000 And the commit fd09307 makes the Faucet work, but not yet the Fullnode RPC, which is still 127.0.0.1 |
Hey, is there a plan to fix the 127.0.0.1 issue? It's still not 0.0.0.0 :(
|
Sorry for the delay on this. Now |
I want to setup a Sui local network inside a Docker container utilizing the sui-test-validator binary. However, a challenge arises as the sui-test-validator exclusively listens on
127.0.0.1
, resulting inaccessible from the host machine.https://github.com/MystenLabs/sui/blob/main/crates/sui-test-validator/src/main.rs#L139C9-L139C25
To address this limitation, I propose the addition of a configurable option
fullnode_rpc_host
, within the sui-test-validator. This enhancement would allow users to setfullnode_rpc_host
to 0.0.0.0, enabling binding to all available network interfaces and facilitating accessibility from the host machine.The text was updated successfully, but these errors were encountered: