瀏覽代碼

Use correct image name in the command to test the haproxy config file (#759)

Kat 9 年之前
父節點
當前提交
9e969b517a
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      haproxy/content.md

+ 1 - 1
haproxy/content.md

@@ -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