compose/reference: 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:15:11 +02:00
parent c35a6abc42
commit ac1be36710
No known key found for this signature in database
GPG Key ID: 76698F39D527CE8C
3 changed files with 3 additions and 3 deletions

View File

@ -17,7 +17,7 @@ Options:
Lists containers.
```bash
```console
$ docker-compose ps
Name Command State Ports
---------------------------------------------------------------------------------------------

View File

@ -38,7 +38,7 @@ services:
If you run `docker-compose pull ServiceName` in the same directory as the `docker-compose.yml` file that defines the service, Docker pulls the associated image. For example, to call the `postgres` image configured as the `db` service in our example, you would run `docker-compose pull db`.
```bash
```console
$ docker-compose pull db
Pulling db (postgres:latest)...
latest: Pulling from library/postgres

View File

@ -11,7 +11,7 @@ Usage: top [SERVICE...]
Displays the running processes.
```bash
```console
$ docker-compose top
compose_service_a_1
PID USER TIME COMMAND