Use correct image name in the command to test the haproxy config file (#759)
This commit is contained in:
parent
32b25e2f57
commit
9e969b517a
|
|
@ -32,7 +32,7 @@ $ docker build -t my-haproxy .
|
|||
## Test the configuration file
|
||||
|
||||
```console
|
||||
$ docker run -it --rm --name haproxy-syntax-check haproxy:1.5 haproxy -c -f /usr/local/etc/haproxy/haproxy.cfg
|
||||
$ docker run -it --rm --name haproxy-syntax-check my-haproxy haproxy -c -f /usr/local/etc/haproxy/haproxy.cfg
|
||||
```
|
||||
|
||||
## Run the container
|
||||
|
|
|
|||
Loading…
Reference in New Issue