mirror of
https://github.com/bigchaindb/bigchaindb.git
synced 2024-10-13 13:34:05 +00:00
Copy-editing Docker section of installing.md
This commit is contained in:
parent
06c1d73d4c
commit
2b756bea51
@ -88,58 +88,51 @@ During its first run, BigchainDB takes care of configuring a single node environ
|
|||||||
**NOT for Production Use**
|
**NOT for Production Use**
|
||||||
|
|
||||||
For those who like using Docker and wish to experiment with BigchainDB in
|
For those who like using Docker and wish to experiment with BigchainDB in
|
||||||
non-production environments, we currently maintain a `Dockerfile` that can be
|
non-production environments, we currently maintain a `dockerfile` that can be
|
||||||
used to build an image for `bigchaindb`, along with a `docker-compose.yml` file
|
used to build an image for `bigchaindb`, along with a `docker-compose.yml` file
|
||||||
to manage a "standalone node", consisting mainly of two containers: one for
|
to manage a "standalone node", consisting mainly of two containers: one for
|
||||||
rethinkdb, and another for `bigchaindb`.
|
RethinkDB, and another for `bigchaindb`.
|
||||||
|
|
||||||
Assuming you have `docker` and `docker-compose` installed, you would proceed as
|
Assuming you have `docker` and `docker-compose` installed, you would proceed as
|
||||||
follows.
|
follows.
|
||||||
|
|
||||||
In a terminal shell:
|
In a terminal shell:
|
||||||
|
```text
|
||||||
```bash
|
|
||||||
$ git clone git@github.com:bigchaindb/bigchaindb.git
|
$ git clone git@github.com:bigchaindb/bigchaindb.git
|
||||||
```
|
```
|
||||||
|
|
||||||
Build the docker image
|
Build the Docker image:
|
||||||
|
```text
|
||||||
```bash
|
|
||||||
$ docker-compose build
|
$ docker-compose build
|
||||||
```
|
```
|
||||||
|
|
||||||
then, a one-time configuration step, to create the config file, which will be
|
then do a one-time configuration step to create the config file; it will be
|
||||||
stored on your host machine under ` ~/.bigchaindb_docker/config`
|
stored on your host machine under ` ~/.bigchaindb_docker/config`:
|
||||||
|
```text
|
||||||
```bash
|
|
||||||
$ docker-compose run --rm bigchaindb bigchaindb configure
|
$ docker-compose run --rm bigchaindb bigchaindb configure
|
||||||
```
|
```
|
||||||
|
|
||||||
you can load test transactions via
|
You can load test transactions via:
|
||||||
|
```text
|
||||||
```bash
|
|
||||||
$ docker-compose run --rm bigchaindb bigchaindb-benchmark load
|
$ docker-compose run --rm bigchaindb bigchaindb-benchmark load
|
||||||
```
|
```
|
||||||
|
|
||||||
you should then be able to start `bigchaindb`, via
|
You should then be able to start `bigchaindb`, via:
|
||||||
|
```text
|
||||||
```bash
|
|
||||||
$ docker-compose run --rm bigchaindb bigchaindb start
|
$ docker-compose run --rm bigchaindb bigchaindb start
|
||||||
```
|
```
|
||||||
|
|
||||||
or
|
or
|
||||||
|
```text
|
||||||
```bash
|
|
||||||
$ docker-compose up
|
$ docker-compose up
|
||||||
```
|
```
|
||||||
|
|
||||||
You should be able to view the rethinkdb dashboard at
|
You should be able to view the RethinkDB dashboard at:
|
||||||
|
```text
|
||||||
```
|
|
||||||
http://docker_host:58080/
|
http://docker_host:58080/
|
||||||
```
|
```
|
||||||
|
|
||||||
where `docker_host` is the ip or hostname of the machine running the docker
|
where `docker_host` is the IP or hostname of the machine running the Docker
|
||||||
engine. If you are developing on linux this most likely will be `localhost`,
|
engine. If you are developing on Linux, this most likely will be `localhost`,
|
||||||
whereas if you are running docker-machine (e.g.: on Mac OS X) this will be the
|
whereas if you are running docker-machine (e.g.: on Mac OS X) this will be the
|
||||||
ip of the docher machine (`docker-machine ip machine_name`).
|
IP of the Docker machine (`docker-machine ip machine_name`).
|
||||||
|
Loading…
x
Reference in New Issue
Block a user