From ea89c3357bb55f3acdab174754c8a87c24f1ed55 Mon Sep 17 00:00:00 2001 From: Vincent Bernat Date: Sat, 21 May 2022 23:22:07 +0200 Subject: [PATCH] installation: specify style for docker code snippets --- content/installation.html | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/content/installation.html b/content/installation.html index f820f57d..0d56bf36 100644 --- a/content/installation.html +++ b/content/installation.html @@ -84,7 +84,8 @@ It is also possible to [build _lldpd_ from source][]. You can use Docker to run `lldpd`: - docker run --rm --net=host --uts=host \ + ::console + $ docker run --rm --net=host --uts=host \ -v /etc/os-release:/etc/os-release \ --cap-add=NET_RAW --cap-add=NET_ADMIN \ --name lldpd \ @@ -96,11 +97,13 @@ to match specific versions. To execute `lldpcli`, use: - docker exec lldpd lldpcli show neighbors + ::console + $ docker exec lldpd lldpcli show neighbors Or to get the command-line: - docker exec -it lldpd lldpcli + ::console + $ docker exec -it lldpd lldpcli # BSD -- 2.39.5