From a574227c8d8ea2a2a6faf6f9ef1cd1ea6ed28916 Mon Sep 17 00:00:00 2001 From: Sebastiaan van Stijn Date: Fri, 6 Aug 2021 17:11:32 +0200 Subject: [PATCH] desktop: use "console" for shell examples This allows for easier copying of the commands, without selecting the prompt. Signed-off-by: Sebastiaan van Stijn --- desktop/faqs.md | 4 ++-- desktop/kubernetes.md | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/desktop/faqs.md b/desktop/faqs.md index 962cf0657c..59f4a951e3 100644 --- a/desktop/faqs.md +++ b/desktop/faqs.md @@ -38,8 +38,8 @@ variables, specify these to connect to Docker instances through Unix sockets. For example: -```bash -export DOCKER_HOST=unix:///var/run/docker.sock +```console +$ export DOCKER_HOST=unix:///var/run/docker.sock ``` Docker Desktop Windows users can connect to the Docker Engine through a **named pipe**: `npipe:////./pipe/docker_engine`, or **TCP socket** at this URL: diff --git a/desktop/kubernetes.md b/desktop/kubernetes.md index e08df320be..c50cf663da 100644 --- a/desktop/kubernetes.md +++ b/desktop/kubernetes.md @@ -21,7 +21,7 @@ The Kubernetes client command `kubectl` is included and configured to connect to the local Kubernetes server. If you have already installed `kubectl` and pointing to some other environment, such as `minikube` or a GKE cluster, ensure you change the context so that `kubectl` is pointing to `docker-desktop`: -```bash +```console $ kubectl config get-contexts $ kubectl config use-context docker-desktop ``` @@ -62,8 +62,8 @@ the `PATH`. You can test the command by listing the available nodes: -```bash -kubectl get nodes +```console +$ kubectl get nodes NAME STATUS ROLES AGE VERSION docker-desktop Ready master 3h v1.19.7