mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-08-28 02:44:59 +00:00
Updated README for docker usage
This commit is contained in:
parent
c7a0aa371d
commit
c2afa6491d
1 changed files with 14 additions and 0 deletions
14
README.md
14
README.md
|
|
@ -65,6 +65,20 @@ The remaining configuration options should be the same on every node in the clus
|
|||
|
||||
`[[cluster.node]]`: specifies each node within the cluster
|
||||
|
||||
## Docker
|
||||
|
||||
You can create a Pilosa container using `make docker` or equivalently:
|
||||
```
|
||||
docker build -t pilosa:latest .
|
||||
```
|
||||
|
||||
You can run a temporary container using:
|
||||
```
|
||||
docker run -it --rm --name pilosa -p 15000:15000 pilosa:latest
|
||||
```
|
||||
|
||||
When you click `Ctrl+C` to stop the container, the container and the data in the container will be erased. You can leave out `--rm` flag to keep the data in the container. See [Docker documentation](https://docs.docker.com) for other options.
|
||||
|
||||
## Usage
|
||||
|
||||
You can interact with Pilosa via HTTP requests to the host:port on which you have Pilosa running.
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue