Dockerfile links:testnet-beta*testnet-beta-archivepio-testnet-1*pio-testnet-1-archivepio-mainnet-1*pio-mainnet-1-archiveamd64]
The provenanceio/node images are used to quickly bootstrap a genesis node on one of the provenance nets. They contain the genesis content as well as a subset of peer and seed nodes to bootstrap a connection with.
In these docs, ${chain-id} is a placeholder for one of [testnet-beta, pio-testnet-1, pio-mainnet-1].
Background
$ docker run --name my-node -d -v $(pwd)/mynode:/home/provenance provenanceio/node:${chain-id}
Interactive
$ docker run -it --rm --name my-node -v $(pwd)/mynode:/home/provenance provenanceio/node:${chain-id}
If you choose to use a custom config.toml or app.toml configuration file, you can pre-create them. The bootstrap process will not overwrite these existing files.
$ mkdir -p ./mynode/config
$ cp my-custom-config.toml mynode/config/config.toml
$ cp my-custom-app.toml mynode/config/app.toml
If you choose to use the default, and tweak that, spin up the docker image with a no-op, and edit the created file.
$ docker run --rm --name my-node -v $(pwd)/mynode:/home/provenance provenanceio/node:${chain-id} true
$ vi testnet/config/config.toml
$ vi testnet/config/app.toml
<edit>
1317266579090$ docker run --name my-node -p 1317:1317 -p 26657:26657 -p 9090:9090 -v $(pwd)/mynode:/home/provenance provenanceio/node:${chain-id}
Content type
Image
Digest
sha256:cb6b2ef58…
Size
58.4 MB
Last updated
almost 4 years ago
docker pull provenanceio/node:chain-local-v1.12.2