Rename testnet peer.sh container name to xdcnetwork-testnet-node#259
Open
MrBlockchain22 wants to merge 1 commit intoXinFinOrg:masterfrom
Open
Rename testnet peer.sh container name to xdcnetwork-testnet-node#259MrBlockchain22 wants to merge 1 commit intoXinFinOrg:masterfrom
MrBlockchain22 wants to merge 1 commit intoXinFinOrg:masterfrom
Conversation
While installing the node using the bootstrap mode, the docker container name uses "xdcnetwork-testnet-node". If the node does not immediately find peers. The recommendation was to run bash peer.sh but running bash peer.sh gives an error: root@vmi2927821:/xdcnode/XinFin-Node/testnet# bash peer.sh enode://9a20f2554cf495945ed24be380b3f3b95ad6a732c3954500a1270ffab0e64b1631ec12f6bdd618026bcb1bd27ba36736defe264cf664ab26be0bb1b13aff1e12@38.242.205.0:30312 Error response from daemon: No such container: testnet_xinfinnetwork_1 enode://ee1e11e3f56b015b2b391eb9c45292159713583b4adfe29d24675238f73d33e6ec0a62397847823e2bca622c91892075c517fc383c9355d43a89bb7532e834a0@157.173.120.219:30312 Error response from daemon: No such container: testnet_xinfinnetwork_1 enode://18799318d5ca266ca7a030d05a1a3a3b20d16db41eb8950ab448cb2a8f41519a1b05b36cac508ecfc590b7701719e3012511dbfcab9d2815a8d04ba6ac5c59ab@167.224.64.218:30312 Error response from daemon: No such container: testnet_xinfinnetwork_1 Due to this, the command fails. Changing the name to the one suggested, will allow the script to run, and allowing the node to find peers instantly.
gzliudan
approved these changes
Apr 7, 2026
Contributor
|
Could you please also correct other wrong names in the following files:
|
gzliudan
approved these changes
Apr 7, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
TLDR:
Updates testnet/peer.sh to use the current Docker container name:
This fixes the script so docker exec targets the correct running testnet container.
Detailed explanation:
While installing the node using the bootstrap mode, the docker container name uses "xdcnetwork-testnet-node". If the node does not immediately find peers. The recommendation was to run bash peer.sh but running bash peer.sh gives an error:
root@vmi2927821:/xdcnode/XinFin-Node/testnet# bash peer.sh
enode://9a20f2554cf495945ed24be380b3f3b95ad6a732c3954500a1270ffab0e64b1631ec12f6bdd618026bcb1bd27ba36736defe264cf664ab26be0bb1b13aff1e12@38.242.205.0:30312 Error response from daemon: No such container: testnet_xinfinnetwork_1
enode://ee1e11e3f56b015b2b391eb9c45292159713583b4adfe29d24675238f73d33e6ec0a62397847823e2bca622c91892075c517fc383c9355d43a89bb7532e834a0@157.173.120.219:30312 Error response from daemon: No such container: testnet_xinfinnetwork_1
enode://18799318d5ca266ca7a030d05a1a3a3b20d16db41eb8950ab448cb2a8f41519a1b05b36cac508ecfc590b7701719e3012511dbfcab9d2815a8d04ba6ac5c59ab@167.224.64.218:30312 Error response from daemon: No such container: testnet_xinfinnetwork_1
Due to this, the command fails. Changing the name to the one suggested, will allow the script to run, and allowing the node to find peers instantly.