From 7a48e4651dc068e3c819a1117e16360a0ca2eab2 Mon Sep 17 00:00:00 2001 From: James Rodewig <40268737+jrodewig@users.noreply.github.com> Date: Fri, 2 Apr 2021 16:36:24 -0400 Subject: [PATCH] [DOCS] Fix docker run code snippet (#96157) (#96169) The current docker run code snippet is malformed and renders incorrectly. This fixes the rendering. --- docs/setup/docker.asciidoc | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/docs/setup/docker.asciidoc b/docs/setup/docker.asciidoc index 8a9506248f3dd..b5fddf2329e0f 100644 --- a/docs/setup/docker.asciidoc +++ b/docs/setup/docker.asciidoc @@ -47,11 +47,13 @@ https://www.docker.elastic.co[www.docker.elastic.co]. === Run Kibana on Docker for development Kibana can be quickly started and connected to a local Elasticsearch container for development or testing use with the following command: --------------------------------------------- + +[source,sh,subs="attributes"] +---- docker run --link YOUR_ELASTICSEARCH_CONTAINER_NAME_OR_ID:elasticsearch -p 5601:5601 {docker-repo}:{version} --------------------------------------------- -endif::[] +---- +endif::[] [float] [[configuring-kibana-docker]] === Configure Kibana on Docker