Skip to content

Commit

Permalink
fix: fix docker start command (#1237)
Browse files Browse the repository at this point in the history
* fix: fix start command

* chore: update docker path

* docs: update to show mainnet beta as option

* chore: change back path

* chore: fix cmd for mac

* chore: add docker desktop as req

* chore: update again lol
  • Loading branch information
jcstein authored Nov 10, 2023
1 parent 61f7c9f commit 8137ba5
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 19 deletions.
24 changes: 12 additions & 12 deletions developers/how-to-stake-tia.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,16 +51,16 @@ validator of your choice.

On the following screen enter amount of TIA tokens and select `Stake`.

A Keplr popup will appear, requesting your approval for the transaction. Select
`Approve`.
A Keplr popup will appear, requesting your approval for the
transaction. Select `Approve`.

![Keplr1](/img/keplr/keplr3.gif)

### :four: Confirm and manage your TIA

After the transaction is confirmed, you will see the following overview
dashboard where you can claim rewards, unstake, redelegate, or stake
additional tokens.
After the transaction is confirmed, you will see the following
overview dashboard where you can claim rewards, unstake, redelegate,
or stake additional tokens.

![Keplr1](/img/keplr/keplr4.gif)

Expand All @@ -76,18 +76,18 @@ Similarly to previous step, select the `+Stake` button.

### :two: Select a validator and stake TIA

On the following screen choose a validator of your choice, enter the desired
amount, and click `Review`.
On the following screen choose a validator of your choice, enter
the desired amount, and click `Review`.

Following that, review the transaction details and select `Stake`, then wait
for the transaction to finalize.
Following that, review the transaction details and select `Stake`,
then wait for the transaction to finalize.

![Keplr1](/img/leap/leap2.gif)

### :three: Confirm and manage your TIA

After the transaction is confirmed, you will see the following overview
dashboard where you can claim rewards, unstake, redelegate, or stake additional
tokens.
After the transaction is confirmed, you will see the following
overview dashboard where you can claim rewards, unstake, redelegate,
or stake additional tokens.

![Keplr1](/img/leap/leap3.gif)
26 changes: 19 additions & 7 deletions nodes/docker-images.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,10 @@ Ubuntu. You can

## Prerequisites

- [Docker](https://docs.docker.com/get-docker) and basic understanding of Docker
- [Docker Desktop for Mac or Windows](https://docs.docker.com/get-docker) and a basic
understanding of Docker
- [Docker Engine for Linux](https://docs.docker.com/engine/install/) and a
basic understanding of Docker

## Quick start

Expand Down Expand Up @@ -76,8 +79,9 @@ Ubuntu. You can

:::

3. Set an RPC endpoint for either [Arabica](./arabica-devnet.md#rpc-endpoints) or
[Mocha](./mocha-testnet.md#rpc-endpoints)
3. Set an RPC endpoint for either [Mainnet Beta](./mainnet.md#da-rpc-endpoints),
[Mocha](./mocha-testnet.md#rpc-endpoints), or
[Arabica](./arabica-devnet.md#rpc-endpoints)
using the bare URL (without http or https):

```bash
Expand Down Expand Up @@ -136,10 +140,18 @@ Now, you can mount this directory to the container.
Before mounting a volume, you _may_ need to set permissions for
the user on the host machine by running:

```bash
::: code-group

```bash [Docker Engine on Linux]
sudo chown 10001:10001 $HOME/my-node-store
```

```bash [Docker Desktop on Mac]
# you're good to go 😎
```

:::

### Initialize the node store and key

In order to mount a volume to the container, you need to specify
Expand Down Expand Up @@ -199,21 +211,21 @@ A full start command will look similar to below.
docker run -e NODE_TYPE=$NODE_TYPE -e P2P_NETWORK=$NETWORK \
-v $HOME/my-node-store:/home/celestia \
ghcr.io/celestiaorg/celestia-node:{{mainnetVersions['node-latest-tag']}} \
celestia light init --p2p.network $NETWORK
celestia light start --core.ip $RPC_URL
```

```bash-vue [Mocha]
docker run -e NODE_TYPE=$NODE_TYPE -e P2P_NETWORK=$NETWORK \
-v $HOME/my-node-store:/home/celestia \
ghcr.io/celestiaorg/celestia-node:{{mochaVersions['node-latest-tag']}} \
celestia light init --p2p.network $NETWORK
celestia light start --core.ip $RPC_URL
```

```bash-vue [Arabica]
docker run -e NODE_TYPE=$NODE_TYPE -e P2P_NETWORK=$NETWORK \
-v $HOME/my-node-store:/home/celestia \
ghcr.io/celestiaorg/celestia-node:{{arabicaVersions['node-latest-tag']}} \
celestia light init --p2p.network $NETWORK
celestia light start --core.ip $RPC_URL
```

:::
Expand Down

0 comments on commit 8137ba5

Please sign in to comment.