Skip to content

Commit 5633b4b

Browse files
authored
Add example on using images from Docker Hub (#118)
1 parent 9c87126 commit 5633b4b

File tree

1 file changed

+15
-3
lines changed

1 file changed

+15
-3
lines changed

README.md

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ On Ubuntu/Debian distributions, simply install all prerequisites as follows:
7777

7878
#### macOS
7979

80-
To build natively on macOS, use Homebrew to install the required dependencies::
80+
To build natively on macOS, use Homebrew to install the required dependencies:
8181

8282
```
8383
$ brew install autoconf automake libtool libevent pkg-config [email protected]
@@ -92,7 +92,7 @@ PKG_CONFIG_PATH=/usr/local/opt/[email protected]/lib/pkgconfig ./configure
9292

9393
### Building and installing
9494

95-
After downloading the source tree, use standard autoconf/automake commands::
95+
After downloading the source tree, use standard autoconf/automake commands:
9696

9797
```
9898
$ autoreconf -ivf
@@ -103,6 +103,18 @@ $ make install
103103

104104
## Using Docker
105105

106+
Use available images on Docker Hub:
107+
108+
```
109+
# latest stable release
110+
$ docker run --rm redislabs/memtier_benchmark:latest --help
111+
112+
# master branch edge build
113+
$ docker run --rm redislabs/memtier_benchmark:edge --help
114+
```
115+
116+
Or, build locally:
117+
106118
```
107119
$ docker build -t memtier_benchmark .
108120
$ docker run --rm memtier_benchmark --help
@@ -119,7 +131,7 @@ $ docker-compose -f docker-compose.redis.yml up --build
119131

120132
## Using memtier_benchmark
121133

122-
See the included manpage or run::
134+
See the included manpage or run:
123135

124136
```
125137
$ memtier_benchmark --help

0 commit comments

Comments
 (0)