chore: add missing language tags for code blocks

Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
This commit is contained in:
David Karlsson 2023-11-01 10:48:24 +01:00
parent b7111d05ec
commit c5e0b995c5
7 changed files with 24 additions and 23 deletions

View File

@ -3314,7 +3314,8 @@ Thanks @ryanbrainard and @d11wtq!
For example, if you have a `web` service which depends on a `db` service, `fig run web ...` will start the `db` service. For example, if you have a `web` service which depends on a `db` service, `fig run web ...` will start the `db` service.
- Environment variables can now be resolved from the environment that Fig is running in. Just specify it as a blank variable in your `fig.yml` and, if set, it'll be resolved: - Environment variables can now be resolved from the environment that Fig is running in. Just specify it as a blank variable in your `fig.yml` and, if set, it'll be resolved:
```
```yaml
environment: environment:
RACK_ENV: development RACK_ENV: development
SESSION_SECRET: SESSION_SECRET:
@ -3322,7 +3323,7 @@ Thanks @ryanbrainard and @d11wtq!
- `volumes_from` is now supported in `fig.yml`. All of the volumes from the specified services and containers will be mounted: - `volumes_from` is now supported in `fig.yml`. All of the volumes from the specified services and containers will be mounted:
``` ```yaml
volumes_from: volumes_from:
- service_name - service_name
- container_name - container_name
@ -3330,7 +3331,7 @@ Thanks @ryanbrainard and @d11wtq!
- A host address can now be specified in `ports`: - A host address can now be specified in `ports`:
``` ```yaml
ports: ports:
- "0.0.0.0:8000:8000" - "0.0.0.0:8000:8000"
- "127.0.0.1:8001:8001" - "127.0.0.1:8001:8001"

View File

@ -41,7 +41,7 @@ manifest requests.
When you issue a pull request and you are over the limit, Docker Hub returns a `429` response code with the following body when the manifest is requested: When you issue a pull request and you are over the limit, Docker Hub returns a `429` response code with the following body when the manifest is requested:
``` ```text
You have reached your pull rate limit. You may increase the limit by authenticating and upgrading: https://www.docker.com/increase-rate-limits You have reached your pull rate limit. You may increase the limit by authenticating and upgrading: https://www.docker.com/increase-rate-limits
``` ```
@ -51,7 +51,7 @@ This error message appears in the Docker CLI or in the Docker Engine logs.
Valid API requests to Hub usually include the following rate limit headers in the response: Valid API requests to Hub usually include the following rate limit headers in the response:
``` ```text
ratelimit-limit ratelimit-limit
ratelimit-remaining ratelimit-remaining
docker-ratelimit-source docker-ratelimit-source

View File

@ -31,7 +31,7 @@ Before you can run the application, you need to get the application source code
2. View the contents of the cloned repository. You should see the following files and sub-directories. 2. View the contents of the cloned repository. You should see the following files and sub-directories.
``` ```text
├── getting-started-app/ ├── getting-started-app/
│ ├── package.json │ ├── package.json
│ ├── README.md │ ├── README.md

View File

@ -122,7 +122,7 @@ setting, see the topic for [Mac](../desktop/settings/mac.md/#file-sharing),
7. Open the `getting-started-app` directory on the host and observe that the 7. Open the `getting-started-app` directory on the host and observe that the
`myfile.txt` file is in the directory. `myfile.txt` file is in the directory.
``` ```text
├── getting-started-app/ ├── getting-started-app/
│ ├── Dockerfile │ ├── Dockerfile
│ ├── myfile.txt │ ├── myfile.txt

View File

@ -18,16 +18,16 @@ on GitHub/GitLab doing exactly this now.
In the `getting-started-app` directory, create a file named `compose.yaml`. In the `getting-started-app` directory, create a file named `compose.yaml`.
``` ```text
├── getting-started-app/ ├── getting-started-app/
│ ├── Dockerfile │ ├── Dockerfile
│ ├── compose.yaml │ ├── compose.yaml
│ ├── node_modules/ │ ├── node_modules/
│ ├── package.json │ ├── package.json
│ ├── spec/ │ ├── spec/
│ ├── src/ │ ├── src/
│ └── yarn.lock │ └── yarn.lock
``` ```
## Define the app service ## Define the app service

View File

@ -604,7 +604,7 @@ connected to both networks.
9. Stop and remove all containers and the `alpine-net` network. 9. Stop and remove all containers and the `alpine-net` network.
``` ```console
$ docker container stop alpine1 alpine2 alpine3 alpine4 $ docker container stop alpine1 alpine2 alpine3 alpine4
$ docker container rm alpine1 alpine2 alpine3 alpine4 $ docker container rm alpine1 alpine2 alpine3 alpine4

View File

@ -76,7 +76,7 @@ This can return a lot of false positives which you need to triage.
The typical structure of a CPE match looks like this: The typical structure of a CPE match looks like this:
``` ```text
cpe:<cpe_version>:<part>:<vendor>:<product>:<version>:<update>:<edition>:<language>:<sw_edition>:<target_sw>:<target_hw>:<other> cpe:<cpe_version>:<part>:<vendor>:<product>:<version>:<update>:<edition>:<language>:<sw_edition>:<target_sw>:<target_hw>:<other>
``` ```
@ -93,7 +93,7 @@ identify the relevant packages with far less false positives.
Continuing this example, a PURL can match the specific package name to a Continuing this example, a PURL can match the specific package name to a
language and version. language and version.
``` ```text
pkg:npm/calendar@12.0.2 pkg:npm/calendar@12.0.2
``` ```