desktop: use "console" for shell examples

This allows for easier copying of the commands, without selecting the
prompt.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
Sebastiaan van Stijn
2021-08-06 17:11:32 +02:00
parent 116e3a838f
commit a574227c8d
2 changed files with 5 additions and 5 deletions

View File

@@ -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:

View File

@@ -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