Skip to content

Commit ae9f429

Browse files
rene-hermenauthaJeztah
authored andcommitted
Update dockerd.md
daemon.json does not exist on a clean install. The doc should reflect that. Signed-off-by: René Hermenau <rene-hermenau@users.noreply.github.com> Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
1 parent 98f1464 commit ae9f429

1 file changed

Lines changed: 6 additions & 5 deletions

File tree

docs/reference/dockerd.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1057,9 +1057,9 @@ $ echo $?
10571057

10581058
##### On Linux
10591059

1060-
The default location of the configuration file on Linux is
1061-
`/etc/docker/daemon.json`. Use the `--config-file` flag to specify a
1062-
non-default location.
1060+
The default location of the configuration file on Linux is `/etc/docker/daemon.json`.
1061+
If the file does not exist, you need to create it first. Use the `--config-file`
1062+
flag to specify a non-default location.
10631063

10641064
The following is a full example of the allowed configuration options on Linux:
10651065

@@ -1208,8 +1208,9 @@ The following is a full example of the allowed configuration options on Linux:
12081208
##### On Windows
12091209

12101210
The default location of the configuration file on Windows is
1211-
`%programdata%\docker\config\daemon.json`. Use the `--config-file` flag
1212-
to specify a non-default location.
1211+
`%programdata%\docker\config\daemon.json`. If the file does not exist, you need
1212+
to create it first. Use the `--config-file` flag to specify a non-default
1213+
location.
12131214

12141215
The following is a full example of the allowed configuration options on Windows:
12151216

0 commit comments

Comments
 (0)