Skip to content
This repository was archived by the owner on Oct 13, 2023. It is now read-only.

Commit 1b850e1

Browse files
adrian-platathaJeztah
authored andcommitted
Minor formatting changes and a typo fix.
Signed-off-by: Adrian Plata <adrian.plata@docker.com> (cherry picked from commit ba7ec36de2c5c83d689f5d2e1f3e0d209606d8c3) Signed-off-by: Sebastiaan van Stijn <github@gone.nl> Upstream-commit: aa45ea366c18ae1265c5e3910d7f7b22b9e4c0dd Component: cli
1 parent dfd6965 commit 1b850e1

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

  • components/cli/docs/reference/commandline

components/cli/docs/reference/commandline/cli.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ each `docker` command with `sudo`. To avoid having to use `sudo` with the
5454
For more information about installing Docker or `sudo` configuration, refer to
5555
the [installation](https://docs.docker.com/install/) instructions for your operating system.
5656

57-
### Environment variables
57+
## Environment variables
5858

5959
For easy reference, the following list of environment variables are supported
6060
by the `docker` command line:
@@ -99,7 +99,7 @@ By default, the Docker command line stores its configuration files in a
9999
directory called `.docker` within your `$HOME` directory.
100100

101101
Docker manages most of the files in the configuration directory
102-
and you should not modify them. However, you *can modify* the
102+
and you should not modify them. However, you *can* modify the
103103
`config.json` file to control certain aspects of how the `docker`
104104
command behaves.
105105

@@ -111,12 +111,12 @@ variable. Command line options override environment variables and environment
111111
variables override properties you specify in a `config.json` file.
112112

113113

114-
#### Change the `.docker` directory
114+
### Change the `.docker` directory
115115

116116
To specify a different directory, use the `DOCKER_CONFIG`
117117
environment variable or the `--config` command line option. If both are
118118
specified, then the `--config` option overrides the `DOCKER_CONFIG` environment
119-
variable. The example below overrides runs the `docker ps` command using a
119+
variable. The example below overrides the `docker ps` command using a
120120
`config.json` file located in the `~/testconfigs/` directory.
121121

122122
```bash
@@ -132,7 +132,7 @@ directory to be `HOME/newdir/.docker`.
132132
echo export DOCKER_CONFIG=$HOME/newdir/.docker > ~/.profile
133133
```
134134

135-
#### `config.json` properties
135+
### `config.json` properties
136136

137137
The `config.json` file stores a JSON encoding of several properties:
138138

0 commit comments

Comments
 (0)