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