From aebc09de829aa81fe16071ae3d75d00950153193 Mon Sep 17 00:00:00 2001 From: Joao Fernandes Date: Mon, 23 Oct 2017 10:16:57 -0700 Subject: [PATCH] Replace double hyphen (#5081) --- engine/admin/logging/gelf.md | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/engine/admin/logging/gelf.md b/engine/admin/logging/gelf.md index 0ab09fb39c..e91f3018df 100644 --- a/engine/admin/logging/gelf.md +++ b/engine/admin/logging/gelf.md @@ -45,7 +45,7 @@ and `--log-opt` options to the Docker daemon: ```bash dockerd - -–log-driver gelf –-log-opt gelf-address=udp://1.2.3.4:12201 \ + --log-driver gelf –-log-opt gelf-address=udp://1.2.3.4:12201 \ ``` To make the configuration permanent, you can configure it in `/etc/docker/daemon.json`: @@ -64,7 +64,7 @@ You can set the logging driver for a specific container by setting the ```bash $ docker run \ - -–log-driver gelf –-log-opt gelf-address=udp://1.2.3.4:12201 \ + --log-driver gelf –-log-opt gelf-address=udp://1.2.3.4:12201 \ alpine echo hello world ``` @@ -95,5 +95,3 @@ $ docker run -dit \ --log-opt gelf-address=udp://192.168.0.42:12201 \ alpine sh ``` - -