mirror of https://github.com/docker/cli.git
Revert "resolve the config file from the sudo user"
This reverts commit afde6450ee7bd4a43765fdc0a9799b411276d9e4. Signed-off-by: Antonio Murdaca <runcom@redhat.com>
This commit is contained in:
parent
acc094305b
commit
4d6a232fc0
|
@ -78,9 +78,6 @@ For example:
|
||||||
Instructs Docker to use the configuration files in your `~/testconfigs/`
|
Instructs Docker to use the configuration files in your `~/testconfigs/`
|
||||||
directory when running the `ps` command.
|
directory when running the `ps` command.
|
||||||
|
|
||||||
> **Note**: If you run docker commands with `sudo`, Docker first looks for a configuration
|
|
||||||
> file in `/root/.docker/`, before looking in `~/.docker/` for the user that did the sudo call.
|
|
||||||
|
|
||||||
Docker manages most of the files in the configuration directory
|
Docker manages most of the files in the configuration directory
|
||||||
and you should not modify them. However, you *can modify* the
|
and you should not modify them. However, you *can modify* the
|
||||||
`config.json` file to control certain aspects of how the `docker`
|
`config.json` file to control certain aspects of how the `docker`
|
||||||
|
|
Loading…
Reference in New Issue