Commit Graph

90 Commits

Author SHA1 Message Date
Michael Davidson 81c15665ef Added Docker-Compose awslogs example (#8638)
* Added docker compose aws logs information

* Fixed formatting and text

- Signed off by @bermudezmt
2019-05-03 11:12:27 -07:00
Darwin Traver 8ece7f64eb
Typo on logging driver name 2019-04-04 16:08:43 -04:00
Wang Jie 9dd27b0431
Update journald.md 2019-03-20 13:48:44 +08:00
Maria Bermudez ccbb5e2630 Revert "Revert "Merge branch 'master' of github.com:docker/docker.github.io""
This reverts commit 4b5fbbdbc9.
2019-03-08 10:53:00 -08:00
L-Hudson 3948dcc901
Merge pull request #8253 from russellballestrini/patch-2
Create local.md
2019-03-01 08:32:16 -05:00
Paige Hargrave 4b5fbbdbc9 Revert "Merge branch 'master' of github.com:docker/docker.github.io"
This reverts commit 813f45bdd7, reversing
changes made to 2349c62566.
2019-02-28 13:11:13 -05:00
L-Hudson 3367a96037
Merge pull request #8207 from toph/log-json-file-example-format
Add an example json-file log line to the documentation.
2019-02-25 08:46:46 -05:00
ion9 fd9efc9096
update to include the \. from %L
in the code you must have a ```.``` at the start of your %L, this change calls that out in the doc
2019-02-20 11:49:39 -05:00
L-Hudson fc53dce7f8
Merge pull request #8254 from russellballestrini/patch-1
Add a reference to the `local` log-driver
2019-02-20 09:59:41 -05:00
Marcel Hoyer 9c929506a3
Improve `fluentd-async-connect` option
- According to c093c1e08b/daemon/logger/fluentd/fluentd.go (L114) I added the _Defaults to `false`._ statement to `fluentd-async-connect` option.
- Add inline code formatting for other default values
2019-02-18 17:30:55 +01:00
Russell Ballestrini 46c2ef22ab
Update local.md 2019-02-14 14:56:40 -08:00
Russell Ballestrini e50e4c09db
Create local.md 2019-02-14 14:55:26 -08:00
Russell Ballestrini fd088cd56f
Add a reference to the `local` log-driver 2019-02-14 14:31:49 -08:00
Topher Cyll 1ef9a7e4d5 Add an example json-file log line to the documentation. 2019-02-09 13:25:41 -05:00
alex seubert 6d7fd0e2ec
Use correct `log-driver` key in daemon.json 2019-02-08 17:07:20 -06:00
L-Hudson f9bbe4fc3f
Merge pull request #6989 from dintort/patch-1
Updated gelf.md invalid dash
2019-01-02 19:40:31 -05:00
Anne Henmi 7790911368
Update configure.md 2018-12-19 15:25:25 -07:00
Anne Henmi d3bebc2b6f Revert "Update configure.md"
This reverts commit 3a6dcf3323.
2018-12-19 15:23:59 -07:00
Anne Henmi 3a6dcf3323
Update configure.md 2018-12-19 15:22:08 -07:00
Maria Bermudez 4bdcbf8ae9 Merge branch 'master' of github.com:docker/docker.github.io 2018-12-10 12:41:24 -08:00
Jeffrey Morgan f6bbf912db Typo fixes 2018-12-03 22:30:33 -05:00
Sebastiaan van Stijn a967b6ccc9
Add note about log-opt options in daemon.json taking string values only
log-opts are passed to logging-drivers as-is, so the daemon is not
aware what value-type each option takes.

For this reason, all options must be provided as a string, even if
they are used as numeric values by the logging driver.

For example, to pass the "max-file" option to the default (json-file)
logging driver, this value has to be passed as a string;

```json
{
  "log-driver": "json-file",
  "log-opts": {
    "max-size": "10m",
    "max-file": "3"
  }
}
```

When passed as a _number_ (`"max-file": 3`), the daemon will invalidate
the configuration file, and fail to start;

    unable to configure the Docker daemon with file /etc/docker/daemon.json: json: cannot unmarshal number into Go value of type string

This patch adds an example to the daemon.json to show these  values
have to be passed as strings.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2018-11-21 14:55:36 +01:00
Sebastiaan van Stijn 472eafd45e
Fix formatting of option-table in syslog driver
Part of the format description was accidentally aligned
with the "example value" column.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2018-11-21 14:41:53 +01:00
Sebastiaan van Stijn aa77505b67
Use --format to get active logging driver
This approach works on all platforms, and reduces the dependency
on external tools (`grep` in this case).

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2018-11-21 14:00:09 +01:00
Sebastiaan van Stijn 8f36e28ad5
Remove note about Docker 17.05
Docker Engine 17.05 has reached EOL, so all current versions of the
Docker Engine now support this feature.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2018-11-21 13:36:35 +01:00
Jeffrey Morgan d15739c5e7 Merge branch 'master' into consolidation-changes 2018-11-14 18:29:09 -05:00
Jeffrey Morgan ca466a55ed Rename Docker Store and Docker Cloud - WIP 2018-10-04 19:41:32 -04:00
Maria Bermudez eb608ee28d
Merge branch 'master' into spelling 2018-10-04 12:18:34 -07:00
Oscar Caballero 269c80d2d9 Spelling revision 2018-09-23 21:43:11 +02:00
Raphael Luba 3108ea7367
Fix typo in journald log options
The `label` option is actually called `labels`.
2018-09-23 14:40:35 +02:00
Din Tort b4967e1bcc
Updated gelf.md
Fixed an ivalid dash in --log-opt gelf-address
2018-07-04 15:11:51 +02:00
Emiliano 'AlberT' Gabrielli b04bb8be45 fix nginx logs links
the log file is linked to the device, not viceversa :)
2018-06-15 14:51:45 -07:00
Joao Fernandes b381efa359 Revert "TCP is not valid option for GELF log driver"
This reverts commit c750d9d5b4.
2018-05-01 15:34:38 -07:00
ada c750d9d5b4 TCP is not valid option for GELF log driver 2018-05-01 14:57:49 -07:00
Filipe Corrêa 9a3a4e5a4b Fix misspelling (#6384) 2018-04-06 10:44:40 -07:00
Akim Demaille 14b53b68c3 Jekyll: don't put {% raw %} directives in pre blocks
Replace all occurrences of

    ```foo
    {% raw %}
    bar
    {% endraw %}
    ```

(which generates spurious empty lines in the rendered pre block) with

    {% raw %}
    ```foo
    bar
    ```
    {% endraw %}

Also, fix some occurrences where the raw section is too large and
prevented interpretation of Jekyll directives.

This is the syntax used in the documentation of Jekyll itself:

https://raw.githubusercontent.com/jekyll/jekyll/master/docs/_docs/templates.md

FTR, done with two perl substitutions:

    '^([\t ]*```[^\n]*
    )([ \t]*\{% raw %\}[^\n]*
    )' '$2$1'

and

    '^([ \t]*\{% endraw %\}[^\n]*
    )([\t ]*```[^\n]*
    )' '$2$1'

and manually tweaks.  A mechanical check would be most useful.

Signed-off-by: Akim Demaille <akim.demaille@docker.com>
2018-03-13 10:28:29 -07:00
Lydell Manganti 66f9839296 Update json-file.md (#6085) 2018-02-26 22:50:13 -08:00
Vlastimil Zeman bd33e9ea08 Document journald tag as SYSLOG_IDENTIFIER (#5989) 2018-02-15 02:38:36 -08:00
Misty Stanley-Jones a17a47dd77
Favor docker <object> <verb> format of commands (#5914)
Remove instances of:
- docker rmi
- docker images
- docker stop
- docker rm
- docker create
- docker exec
- docker attach
2018-02-05 09:33:47 -08:00
Misty Stanley-Jones 1b343beca4
Clean up information architecture (#5893)
- Move /engine/admin/ and /engine/userguide/ topics to /config/ and /develop/
- Get rid of some stub topics that are no longer needed
- Rename /engine/article-img/ to /engine/images/
- Mark ambassador linking topic as obsolete
- Flesh out multistage build topic
- Reorganize some terribly obsolete content in other files
2018-02-01 15:25:43 -08:00