Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.

Updating the Docker instructions for latest 0.3.14 polkadot Alexander #135

Merged
merged 2 commits into from
Feb 20, 2019
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
update version to 0.3.14 and add --chain alex
- update to latest docker polkadot version - 0.3.14
- add the `--chain alex` argument which is necessary for the Alexander testnet
  • Loading branch information
mradkov authored Feb 12, 2019
commit 371c4f4379d74173ac28ed8cdeed9c5246f2dc69
8 changes: 5 additions & 3 deletions doc/docker.adoc
Original file line number Diff line number Diff line change
@@ -6,17 +6,19 @@ The easiest/faster option is to use the latest image.
Let´s first check the version we have. The first time you run this command, the polkadot docker image will be downloaded. This takes a bit of time and bandwidth, be patient:

[source, shell]
docker run --rm -it chevdor/polkadot:0.3.0 polkadot --version
docker run --rm -it chevdor/polkadot:0.3.14 polkadot --version

You can also pass any argument/flag that polkadot supports:

[source, shell]
docker run --rm -it chevdor/polkadot:0.3.0 polkadot --name "PolkaDocker"
docker run --rm -it chevdor/polkadot:0.3.14 polkadot --chain alex --name "PolkaDocker"

Once you are done experimenting and picking the best node name :) you can start polkadot as daemon, exposes the polkadot ports and mount a volume that will keep your blockchain data locally:

[source, shell]
docker run -d -p 30333:30333 -p 9933:9933 -v /my/local/folder:/data chevdor/polkadot:0.3.0 polkadot
docker run -d -p 30333:30333 -p 9933:9933 -v /my/local/folder:/data chevdor/polkadot:0.3.14 polkadot --chain alex

Note: The `--chain alex` argument is important and you need to add it to the command line. If you are running older node versions (pre 0.3) you don't need it.

Start a shell session with the daemon: