From: Vincent Bernat Date: Sat, 21 May 2022 21:22:07 +0000 (+0200) Subject: installation: specify style for docker code snippets X-Git-Url: http://git.ipfire.org/?p=thirdparty%2Flldpd.git;a=commitdiff_plain;h=ea89c3357bb55f3acdab174754c8a87c24f1ed55 installation: specify style for docker code snippets --- 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