mirror of
https://github.com/bigchaindb/bigchaindb.git
synced 2024-10-13 13:34:05 +00:00
Simplify docs by removing default "latest" tag (#269)
This commit is contained in:
parent
1997dae574
commit
e669a6e8e1
@ -121,7 +121,7 @@ Assuming you have Docker installed, you would proceed as follows.
|
|||||||
|
|
||||||
In a terminal shell, pull the latest version of the BigchainDB Docker image using:
|
In a terminal shell, pull the latest version of the BigchainDB Docker image using:
|
||||||
```text
|
```text
|
||||||
docker pull bigchaindb/bigchaindb:latest
|
docker pull bigchaindb/bigchaindb
|
||||||
```
|
```
|
||||||
|
|
||||||
then do a one-time configuration step to create the config file; we will use
|
then do a one-time configuration step to create the config file; we will use
|
||||||
@ -130,7 +130,7 @@ be stored in a file on your host machine at `~/bigchaindb_docker/.bigchaindb`:
|
|||||||
|
|
||||||
```text
|
```text
|
||||||
$ docker run --rm -v "$HOME/bigchaindb_docker:/data" -ti \
|
$ docker run --rm -v "$HOME/bigchaindb_docker:/data" -ti \
|
||||||
bigchaindb/bigchaindb:latest -y configure
|
bigchaindb/bigchaindb -y configure
|
||||||
Generating keypair
|
Generating keypair
|
||||||
Configuration written to /data/.bigchaindb
|
Configuration written to /data/.bigchaindb
|
||||||
Ready to go!
|
Ready to go!
|
||||||
@ -147,7 +147,7 @@ Let's analyze that command:
|
|||||||
documentation](https://docs.docker.com/engine/userguide/containers/dockervolumes/#mount-a-host-directory-as-a-data-volume)
|
documentation](https://docs.docker.com/engine/userguide/containers/dockervolumes/#mount-a-host-directory-as-a-data-volume)
|
||||||
* `-t` allocate a pseudo-TTY
|
* `-t` allocate a pseudo-TTY
|
||||||
* `-i` keep STDIN open even if not attached
|
* `-i` keep STDIN open even if not attached
|
||||||
* `bigchaindb/bigchaindb:latest` the image to use
|
* `bigchaindb/bigchaindb the image to use
|
||||||
* `-y configure` execute the `configure` sub-command (of the `bigchaindb` command) inside the container, with the `-y` option to automatically use all the default config values
|
* `-y configure` execute the `configure` sub-command (of the `bigchaindb` command) inside the container, with the `-y` option to automatically use all the default config values
|
||||||
|
|
||||||
|
|
||||||
@ -157,7 +157,7 @@ After configuring the system, you can run BigchainDB with the following command:
|
|||||||
$ docker run -v "$HOME/bigchaindb_docker:/data" -d \
|
$ docker run -v "$HOME/bigchaindb_docker:/data" -d \
|
||||||
--name bigchaindb \
|
--name bigchaindb \
|
||||||
-p "58080:8080" -p "59984:9984" \
|
-p "58080:8080" -p "59984:9984" \
|
||||||
bigchaindb/bigchaindb:latest start
|
bigchaindb/bigchaindb start
|
||||||
```
|
```
|
||||||
|
|
||||||
The command is slightly different from the previous one, the differences are:
|
The command is slightly different from the previous one, the differences are:
|
||||||
@ -200,7 +200,7 @@ You can load test the BigchainDB running in that container by running the `bigch
|
|||||||
```text
|
```text
|
||||||
$ docker run --rm -v "$HOME/bigchaindb_docker:/data" -ti \
|
$ docker run --rm -v "$HOME/bigchaindb_docker:/data" -ti \
|
||||||
--link bigchaindb \
|
--link bigchaindb \
|
||||||
bigchaindb/bigchaindb:latest load
|
bigchaindb/bigchaindb load
|
||||||
```
|
```
|
||||||
|
|
||||||
Note the `--link` option to link to the first container (named `bigchaindb`).
|
Note the `--link` option to link to the first container (named `bigchaindb`).
|
||||||
|
Loading…
x
Reference in New Issue
Block a user