Publish Peerplays 1.5.21-alpha to Dockerhub & provide simple instructions #514

Closed
opened 2023-02-22 13:54:44 +00:00 by bobinson · 14 comments
bobinson commented 2023-02-22 13:54:44 +00:00 (Migrated from gitlab.com)
  • Publish Peerplays 1.5.21-alpha to Dockerhub
  • provide simple instructions to launch the docker
  • Provide Instructions for cli_wallet connecting to alphanet
- Publish Peerplays 1.5.21-alpha to Dockerhub - provide simple instructions to launch the docker - Provide Instructions for `cli_wallet` connecting to alphanet
bobinson commented 2023-02-22 13:54:44 +00:00 (Migrated from gitlab.com)

changed due date to February 24, 2023

changed due date to February 24, 2023
bobinson commented 2023-02-22 13:54:44 +00:00 (Migrated from gitlab.com)

assigned to @rilesdun

assigned to @rilesdun
rilesdun commented 2023-02-22 16:36:03 +00:00 (Migrated from gitlab.com)

https://hub.docker.com/layers/peerplays/peerplays/1.5.21-alpha/images/sha256-5cd9cb78b1e8c57b810db1bac3cd544c4d7f2faf2cf4487b9b4aa29e4c6ddf2d?context=repo

Image is published, will pass along details instructions for cli_wallet on alphanet here and on rocketchat

https://hub.docker.com/layers/peerplays/peerplays/1.5.21-alpha/images/sha256-5cd9cb78b1e8c57b810db1bac3cd544c4d7f2faf2cf4487b9b4aa29e4c6ddf2d?context=repo Image is published, will pass along details instructions for cli_wallet on alphanet here and on rocketchat
bobinson commented 2023-02-23 07:12:05 +00:00 (Migrated from gitlab.com)

Hi @rilesdun - lets publish the instructions at https://gitlab.com/PBSA/peerplays/-/wikis/using-Peerplays-1.5.21-alpha-docker-image

We can have @Bharathi-Chandrasekaran take it up and publish via gitbook later.

Hi @rilesdun - lets publish the instructions at https://gitlab.com/PBSA/peerplays/-/wikis/using-Peerplays-1.5.21-alpha-docker-image We can have @Bharathi-Chandrasekaran take it up and publish via gitbook later.
bobinson commented 2023-02-23 07:26:42 +00:00 (Migrated from gitlab.com)

Hi @rilesdun - it looks like we missed out considering the TESTNET and MAINNET builds and the image we have is connecting to to the MAINNET. Perhaps we need two images peerplays:1.5.21-alpha-testnet & peerplays:1.5.21-alpha-mainnet ?

image

How to connect to alphanet, devnet etc ?

option one : Edit the config file after launching the image and restart (if using witness or seed) for cli_wallet, use options.

Please include this also in the steps.

Hi @rilesdun - it looks like we missed out considering the TESTNET and MAINNET builds and the image we have is connecting to to the MAINNET. Perhaps we need two images `peerplays:1.5.21-alpha-testnet` & `peerplays:1.5.21-alpha-mainnet` ? ![image](/uploads/168638cac47a976dc11d4668611e49a0/image.png) **How to connect to alphanet, devnet etc ?** option one : Edit the config file after launching the image and restart (if using witness or seed) for cli_wallet, use options. Please include this also in the steps.
rilesdun commented 2023-02-23 12:28:23 +00:00 (Migrated from gitlab.com)

Seems you are right @bobinson - we can either go ahead with the tags you are talking about, or we can maintain another repository on dockerhub.

Example: docker pull peerplays/peerplays:1.5.21 is how we currently pull the image latest image but instead we can maintain two dockerhub repositories under our organization:

  • peerplays/peerplays-mainnet
  • peerplays/peerplays-testnet

If we do it this way, we can maintain short concise tags so in the future it would look like:

Mainnet = docker pull peerplays/peerplays-mainnet:1.5.19

Testnet = docker pull peerplays/peerplays-testnet:1.5.21

Let me know what you think!

Seems you are right @bobinson - we can either go ahead with the tags you are talking about, or we can maintain another repository on dockerhub. Example: `docker pull peerplays/peerplays:1.5.21` is how we currently pull the image latest image but instead we can maintain two dockerhub repositories under our organization: - `peerplays/peerplays-mainnet` - `peerplays/peerplays-testnet` If we do it this way, we can maintain short concise tags so in the future it would look like: Mainnet = `docker pull peerplays/peerplays-mainnet:1.5.19` Testnet = `docker pull peerplays/peerplays-testnet:1.5.21` Let me know what you think!
bobinson commented 2023-02-23 12:30:48 +00:00 (Migrated from gitlab.com)

Looks perfect @rilesdun

Looks perfect @rilesdun
bobinson commented 2023-02-23 15:03:34 +00:00 (Migrated from gitlab.com)

mentioned in issue PBSA/dapps/dapp-dev-environment#4

mentioned in issue PBSA/dapps/dapp-dev-environment#4
bobinson commented 2023-02-23 15:03:49 +00:00 (Migrated from gitlab.com)

marked this issue as related to PBSA/dapps/dapp-dev-environment#4

marked this issue as related to PBSA/dapps/dapp-dev-environment#4
bobinson commented 2023-02-27 11:38:27 +00:00 (Migrated from gitlab.com)

Hi @rilesdun - Can you share the details of running and using the docker with @anagabhushana ASAP ?

Hi @anagabhushana - the Nimbal team is waiting for these instructions.

Hi @rilesdun - Can you share the details of running and using the docker with @anagabhushana ASAP ? Hi @anagabhushana - the Nimbal team is waiting for these instructions.
rilesdun commented 2023-02-27 15:41:35 +00:00 (Migrated from gitlab.com)

@bobinson you can use the following options:

From docker command line on a linux system to connect to our alphanet (wss is broken due to TLS issue https://gitlab.com/PBSA/peerplays/-/issues/413) :

sudo docker run -it peerplays/peerplays-testnet:1.5.21 ./cli_wallet -s ws://96.46.48.169:8090/api --chain-id 2c25aae5835fd54020329d4f150b04867e72cbd8f7f7b900a7c3da8a329a6014

From docker desktop:

Pull the testnet image you require (I am using 1.5.21)

image

Run the following command from your terminal to connect to our alphanet - If using windows, it may prompt for install of WSL (Linux sub-system):

sudo docker run -it peerplays/peerplays-testnet:1.5.21 ./cli_wallet -s ws://96.46.48.169:8090/api --chain-id 2c25aae5835fd54020329d4f150b04867e72cbd8f7f7b900a7c3da8a329a6014

cc: @anagabhushana @skesarwani91

@bobinson you can use the following options: From docker command line on a linux system to connect to our alphanet (wss is broken due to TLS issue https://gitlab.com/PBSA/peerplays/-/issues/413) : ``` sudo docker run -it peerplays/peerplays-testnet:1.5.21 ./cli_wallet -s ws://96.46.48.169:8090/api --chain-id 2c25aae5835fd54020329d4f150b04867e72cbd8f7f7b900a7c3da8a329a6014 ``` From docker desktop: Pull the testnet image you require (I am using 1.5.21) ![image](/uploads/4c739341466b4d491dfba5b4cf6831d9/image.png) Run the following command from your terminal to connect to our alphanet - If using windows, it may prompt for install of WSL (Linux sub-system): ``` sudo docker run -it peerplays/peerplays-testnet:1.5.21 ./cli_wallet -s ws://96.46.48.169:8090/api --chain-id 2c25aae5835fd54020329d4f150b04867e72cbd8f7f7b900a7c3da8a329a6014 ``` cc: @anagabhushana @skesarwani91
rilesdun commented 2023-03-01 17:15:18 +00:00 (Migrated from gitlab.com)

Marking this issue as resolved as per the above comments

Marking this issue as resolved as per the above comments
rilesdun (Migrated from gitlab.com) closed this issue 2023-03-01 17:15:18 +00:00
bobinson commented 2023-03-15 12:44:31 +00:00 (Migrated from gitlab.com)

mentioned in issue #521

mentioned in issue #521
rilesdun commented 2023-03-22 13:37:57 +00:00 (Migrated from gitlab.com)

marked this issue as related to #523

marked this issue as related to #523
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: Peerplays_Blockchain/peerplays_migrated#514
No description provided.