Commit Graph

220 Commits

Author SHA1 Message Date
idi-ot
58a5e517c9 fix typo: 10000 -> 1000000 (ms in 1 sec) (#5769)
* fix typo?

Not sure if that's what was intended by the original author, but there are 1000000 microseconds in one second, not 10000.

* update example command as well
2018-01-19 11:46:53 -08:00
idi-ot
cb6ed21e67 spacing + config.json -> daemon.json (#5771) 2018-01-19 11:45:33 -08:00
idi-ot
cc27281482 fix typo: remove unnecessary newline (#5772) 2018-01-19 11:44:24 -08:00
idi-ot
db747309d0 add spacing before grep command (#5780) 2018-01-19 11:39:11 -08:00
Charles Bushong
4d960712b8 Replacing emdash in sample code with dash (#5782)
(╯°□°)╯︵ ┻━┻
2018-01-19 11:38:46 -08:00
ada
2b1ab09694 Resolves https://github.com/docker/docker.github.io/issues/5785 (#5786) 2018-01-19 11:33:33 -08:00
Akim Demaille
218e1cbb23 Mac updates (#5762)
* Mac: fix name of the vm directory

Actually the directory name changed from vm to vms/0 (there has been
no release with vm, we may remove references to it).  This is for the
forthcoming 18.01 Edge release, but since it's already published we
should probably update now.

Signed-off-by: Akim Demaille <akim.demaille@docker.com>

* Toolbox: formatting changes

No user visible changes here, just making future diffs easier to read.

Signed-off-by: Akim Demaille <akim.demaille@docker.com>

* Toolbox: do not invite to remove ~/.docker

Docker for Mac uses that directory too.

Signed-off-by: Akim Demaille <akim.demaille@docker.com>
2018-01-18 09:37:00 -08:00
dragon788
d5518a9754 Fix typo in relative link to heading (#5765) 2018-01-18 09:34:19 -08:00
idi-ot
5542754db3 fix type: umlimited -> unlimited (#5768) 2018-01-18 09:32:50 -08:00
Ben Wells
cb3f9aced6 Wait after processes are launched to poll to see whether they have exited (#5686) 2018-01-12 13:32:18 -08:00
Akim Demaille
757c140877 Mac: the disk image has moved (#5603)
* Mac: the disk image has moved

In the forthcoming release of Docker for Mac, the disk image is in
another directory (was needed for future changes).

Signed-off-by: Akim Demaille <akim.demaille@docker.com>

* Mac: FAQ: Promote "Disk Usage" questions

One level upper.

Signed-off-by: Akim Demaille <akim.demaille@docker.com>
2018-01-02 17:13:00 -08:00
dungeonmaster18
e90fbae9e4 Added documentation for fluentd plugin sub-second-precision flag
Signed-off-by: dungeonmaster18 <umesh4257@gmail.com>
2018-01-02 17:13:00 -08:00
Thomas Matthijs
646fa53a52 Keep required [Service] like the example above it (#5648) 2018-01-02 10:08:16 -08:00
Stephen Kuenzli
8ad2680824 Document the mode and max-buffer-size log options (#5613)
* Document how and why to configure the `mode` and `max-buffer-size` log options
2017-12-27 14:08:47 -08:00
William Richard
cd296bbae1 Update journald logging driver options docs (#5572)
* Updated the options docs for journald driver

I have updated the options documentation for the journald logging driver, since I was having trouble understanding how it was supposed to be used.  I modeled it heavily after the google cloud logging driver docs, since I found those helpful in solving my own issues.
2017-12-27 13:04:04 -08:00
Mattias Appelgren
a85d664d6b Fix typo of journald env-regex option (#5552) 2017-12-19 13:09:43 -08:00
Miguel A. C
354fac77a7 Add missing logentries row to supported drivers table (#5567) 2017-12-19 13:08:02 -08:00
Igor Karpovich
e1f8e68792 Logentries log driver update (#5427)
Documentation updated to include new option described in moby/moby#31726 together with later changes from moby/moby#35626 
Released in 17.09
2017-12-14 15:45:19 -08:00
Lachlan Cooper
1fa2c0387a Correct parameter names for --publish long syntax (#5457) 2017-12-12 12:59:30 -08:00
Jan Kašpar
96a72d6211 Fixed a typo (#5474) 2017-12-11 13:30:17 -08:00
asleea88
c09d16b415 Pointing wrong URI to prometheus alert (#5433)
It seems to be pointing wrong or legacy URI(https://prometheus.io/docs/alerting/rules/)
The URI(https://prometheus.io/docs/alerting/rules/) returns "Page Not found".
I found alternative URI(https://prometheus.io/docs/alerting/overview/) for Prometheus alert.

I just exchange 'https://prometheus.io/docs/alerting/rules/' to 'https://prometheus.io/docs/alerting/overview/'
2017-12-04 11:51:33 -08:00
Simon Hambly
471454b620 Make 'use a process manager' clearer (#5409)
* Make 'use a process manager' clearer

The "Use a process manager" section appears to mix use of process manager on host with using process managers within a container.

The essence of the section appears to suggest that host-level process managers are ok as long as you don't combine them with docker restart policies.  But paragraphs 2 & 3 (in the original) seem to actively discourage the use of process managers within containers. Putting paragraphs 2 & 3 under an explicit heading would be clearer.

Should a section on process mangers within containers be expanded? There are lots of articles on the internet that relate to using process managers to start multiple processor in containers or to manage zombie pid 1 processes.  Are there official recommendations on what to do in these situations — whether to use a process manager or is a recommended 'docker native' way to achieve the same results?

* Updated to use the warning class
2017-12-01 09:58:25 -08:00
David G Vigil Sr
26986a161e Update systemd.md (#5406)
Added 'sudo' to step 1 of HTTP/HTTPS proxy section.
2017-11-28 10:04:29 -08:00
Trung Lê
8896e88867 mention about log metadata (#5319)
fluentd log driver returns a metadata that includes the `log` attribute

This is the main message that fluentd tend to filter on
2017-11-17 12:10:31 -08:00
ripcurld0
0df910d590 Add a note regarding retrieving log messages when tty is enabled (#5321)
When running a container with tty enabled and setting the journald
logging driver, you may see "blob data" instead of the real log
message.

That's because tty appends "\r" to the end of the log line,
which isn't stripped by jorunald unless you specify the "--all" flag.

Signed-off-by: Boaz Shuster <ripcurld.github@gmail.com>
2017-11-17 12:09:53 -08:00
Misty Stanley-Jones
956fe5924d Update docs for new publish syntax (#5323) 2017-11-17 12:08:29 -08:00
Euan T
53e2478599 Fix indentation of Python example (#5290) 2017-11-13 11:55:41 -08:00
Misty Stanley-Jones
8d1a1fcb12 Remove unclear content not meant for end users (#5278) 2017-11-10 10:50:08 -08:00
Misty Stanley-Jones
a10715ab8e Use correct syntax for localhost for mac / win (#5264) 2017-11-09 11:17:42 -08:00
Peter Wen
a998ff1039 Update volumes.md
Fix bind-mounts link.
2017-11-06 18:05:19 -08:00
Misty Stanley-Jones
a15705ad87 Add caveats about the hosts entry in daemon.json (#5223) 2017-11-06 14:28:42 -08:00
Joao Fernandes
661ae69c31 Fix typo (#5130) 2017-10-26 15:35:31 -07:00
Brian Goff
73878e84ae Correct version typo in live-restore doc. (#5121)
The paragraph mentions that live restore is only supported for minor
releases (aka patch releases) but goes on to show "1.12.1" updated to
"1.13.2". This is unfortunately a pretty nasty typo and should be
"1.12.2" not "1.13.2".

Signed-off-by: Brian Goff <cpuguy83@gmail.com>
2017-10-26 13:58:25 -07:00
Arush Salil
52669983f8 Update code snippet (#5111)
In the code sample mentioned in `Start a service with volumes` it says

> The following example starts a nginx service with four replicas, each of which uses a local volume called myvol2.

But --replicas=4 is missing from the code sample which reads:

```
$ docker service create -d \
  --name devtest-service \
  --mount source=myvol2,target=/app \
  nginx:latest
```
Instead of this it rather should be:

```
$ docker service create -d \
--replicas=4 \
--name devtest-service \
--mount source=myvol2,target=/app \
nginx:latest
```
2017-10-25 18:08:45 -07:00
Joao Fernandes
aebc09de82 Replace double hyphen (#5081) 2017-10-23 10:16:57 -07:00
Misty Stanley-Jones
4a962afa85 selinux labels are ignored for bind mounts on services (#5061) 2017-10-20 14:21:36 -07:00
Yaroslav Mitsynskiy
3888065197 Correct errors about data propagation into volumes and bind mounts (#5058) 2017-10-20 14:19:06 -07:00
Misty Stanley-Jones
ea6f50b761 Add info about warnings in docker info (#5048) 2017-10-20 09:48:10 -07:00
Ghislain Bourgeois
3c5e81b7a4 Add TCP documentation for GELF logging driver (#4536)
Signed-off-by: Ghislain Bourgeois <ghislain.bourgeois@gmail.com>
2017-10-17 21:34:07 -07:00
jhughes-mc
1dc7e46c16 Update json-file.md (#4924)
Discovered you must remove the container to use the new logging configuration. Otherwise it will not change and continue to use the old.
2017-10-16 16:12:38 -07:00
Gwendolynne Barr
e4bffe846c Repair cpu-period default to 100ms (#4967) 2017-10-14 10:09:33 -07:00
Misty Stanley-Jones
fabfd6d40e Document where to find stack traces (#4962) 2017-10-13 15:59:48 -07:00
Misty Stanley-Jones
454763b0d4 Remove inaccurate note from json log driver docs (#4801) 2017-10-04 16:53:22 -07:00
Gwendolynne Barr
381f2e77c7 Add log-opts to Splunk daemon.json example (#4701) 2017-09-29 15:17:20 -07:00
Misty Stanley-Jones
7388b14411 Add Windows example for running Prometheus (#4661) 2017-09-19 10:23:20 -07:00
Douglas Jose
5d6f807187 Update ansible.md (#4531)
Edited wrong `docker_container` module name.
2017-09-11 17:01:57 -07:00
Wang Jie
07ffdd4f2f Update log_tags.md (#4351) 2017-09-11 16:53:54 -07:00
Rob Moore
527cd9dfad Update explanation of special device symlinks (#4505)
The symlinks are described the wrong way round and suggest that /dev/stdout and /dev/stderr are being overwritten, but that's not true - ln -s /dev/stdout /var/log/nginx/access.log creates a symlink at access.log pointing to /dev/stdout.

See `man ln`
2017-09-11 16:53:19 -07:00
Wang Jie
a95ea1162d Update volumes.md (#4438) 2017-09-11 09:52:17 -07:00
Wang Jie
730e10cc46 Update troubleshooting_volume_errors.md (#4441) 2017-09-11 09:51:20 -07:00