Commit Graph

59 Commits

Author SHA1 Message Date
Jonas 5bde184abd
Fix links. 2019-03-14 15:14:39 +01:00
orlvn a2a0a73764
Update services.md
Tasks, not services are scheduled on nodes.
2018-10-29 17:29:36 +01:00
Maria Bermudez eb608ee28d
Merge branch 'master' into spelling 2018-10-04 12:18:34 -07:00
Maria Bermudez 6c3bae4317
Update services.md
Fixes [7435](https://github.com/docker/docker.github.io/issues/7435)
2018-09-27 16:54:23 -07:00
Oscar Caballero 269c80d2d9 Spelling revision 2018-09-23 21:43:11 +02:00
Trapier Marshall 64279e87a6 fix swarm service constraint examples
1. Be more specific about what happens when constraints aren't satified.
    2. There is no `--global`.  Also addressed in network/overlay.md.
    3. Label constraints do not match node labels without `node.label` prefix.

AFAIK neither 2 nor 3 have ever been correct

testedon: 17.06.2-ee-16
2018-09-06 12:49:45 -04:00
John Yani a362eba1c7 Service templates: Capitalize .Node.Hostname (#6753) 2018-05-24 08:52:28 -07:00
Nathan Jones 6df075f1c7 Add node.hostname to Go template placeholder options
The following command works on Docker CE 18.03.1-ce so .node.hostname should be included in the doc:

`docker service create --name myservice --hostname="{{.Node.Hostname}}-{{.Service.Name}}" busybox top`

This does not yet work however on the latest EE release, so I'd like some help knowing how best to add a note indicating this on the page.
2018-05-16 16:09:07 -07:00
Trapier Marshall 927844cac4 move mount csv note from services to volumes (#6568) 2018-04-27 09:50:19 -07:00
Trapier Marshall f3a65169a1 tone down service bind mount admonishment (#6567) 2018-04-27 09:45:07 -07:00
Trapier Marshall 45350ed397 clarify independence of volume lifecycle (#6563) 2018-04-27 09:44:21 -07:00
Darius Kramer 627793e1a8 Fix minor typo in services.md (#6485) 2018-04-20 09:53:59 -07:00
Trapier Marshall 67076f0ef8 swarm services: correct typo
Signed-off-by: Trapier Marshall <trapier.marshall@docker.com>
2018-04-02 15:08:24 -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
Misty Stanley-Jones 72c6cbce38
Document an example for --with-registry-auth flag (#5882) 2018-01-31 13:55:42 -08:00
Misty Stanley-Jones a4f5e30249
Various copyedits to reduce future tense, wordiness, and use of 'please' (#5788)
* Reword lots of instances of 'will'

* Reword lots of instances of won't

* Reword lots of instances of we'll

* Eradicate you'll

* Eradicate 'be able to' type of phrases

* Eradicate 'unable to' type of phrases

* Eradicate 'has / have to' type of phrases

* Eradicate 'note that' type of phrases

* Eradicate 'in order to' type of phrases

* Redirect to official Chef and Puppet docs

* Eradicate gratuitous 'please'

* Reduce use of e.g.

* Reduce use of i.e.

* Reduce use of N.B.

* Get rid of 'sexagesimal' and correct some errors
2018-01-25 17:37:23 -08:00
Misty Stanley-Jones 15eb7fe379 Swarm service isolation (#5564) 2018-01-02 17:13:00 -08:00
Lachlan Cooper 1fa2c0387a Correct parameter names for --publish long syntax (#5457) 2017-12-12 12:59:30 -08:00
Misty Stanley-Jones 956fe5924d
Update docs for new publish syntax (#5323) 2017-11-17 12:08:29 -08:00
Bret Fisher 06e64aaefe add placement pref note about null labels (#5250) 2017-11-10 14:05:34 -08:00
Misty Stanley-Jones 8d446fd3eb
Clarify note about services running in host mode (#5265) 2017-11-09 11:54:11 -08:00
Misty Stanley-Jones 6e2ebea106 Address feedback about placement constraints and prefs (#5101) 2017-10-24 16:25:25 -07:00
Koen Punt eccd6be00a remove duplicate word (#5091) 2017-10-24 10:29:08 -07:00
Misty Stanley-Jones 3c614d655f Explain placement constraints and preferences (#4635) 2017-10-23 16:18:08 -07:00
Steve Sharp 23f59b8d9a Update services.md (#4259)
Fixes typo:
Currently "To prevent this from happening. ensure..."
Proposed "To prevent this from happening, ensure..."
2017-08-18 10:46:42 -07:00
Misty Stanley-Jones 7f966c4c10 Remove edge-only admonitions 2017-06-28 08:31:29 -07:00
Misty Stanley-Jones 3b5192d199 Add release notes from upstream repos into the formal docs (#3644)
* Import release notes from upstream projects

* Fix Liquid errors

* Try a new structure

* Update 17.06 release notes to RC5
2017-06-28 08:31:29 -07:00
Misty Stanley-Jones 9d53ce7350 Clarify routing mesh port 2017-06-20 11:07:50 -07:00
leonstrand 44c31878d8 Update services.md (#3521)
Change 'correcty' to 'correct way'
2017-06-09 10:55:46 -07:00
Misty Stanley-Jones a173c4630d Document OOME information (#3536) 2017-06-09 09:41:00 -07:00
Misty Stanley-Jones e11009b304 Reorg service management topic (#3462)
Move some things that were previously in the CLI ref
Some rewrites and reorganization
Add placement pref image
2017-06-02 14:46:24 -07:00
Misty Stanley-Jones f732322462 Add docs for automatic service rollback (#3248) 2017-05-11 15:34:16 -07:00
Thomas Noe 99c7f1e503 remove cadvisor from swarm example -- #1840 (#2939)
Signed-off-by: Thomas Noe <thomas.noe@madwiremedia.com>
2017-04-25 16:00:55 -07:00
Misty Stanley-Jones 10be60a80f Go back to small /edge (#2736)
* Go back to small /edge

* Update site front page

Add info about Editions
Reorganize components
Update headings

* Move logic of fetching content to a script

* Add v1.28 API

* Add info about versioned API
2017-04-13 18:58:56 -07:00
Aaron Lehmann 3874bf2c60 Add docs for 17.04 Edge release 2017-04-05 17:45:44 -07:00
Aaron Lehmann a73be0d5a6 swarm: Add note about placement preferences
Docker 1.14 is adding a new feature called "placement preferences". This
adds a note about them, and a pointer to the "service create" reference
that explains them in detail.

Signed-off-by: Aaron Lehmann <aaron.lehmann@docker.com>
2017-04-05 17:45:44 -07:00
Joao Fernandes 7b90ef4bdc Fix spelling errors (#2409) 2017-03-21 11:49:07 -07:00
mw75 dddd864438 Update services.md (#1504)
* Update services.md
2017-02-22 11:15:15 -08:00
Jeffery Bradberry a9da7672a5 Update services.md 2017-02-07 14:14:05 -05:00
Misty Stanley-Jones ef95a915eb Fixing broken links
Formatting improvements along the way
2017-01-25 11:51:14 -08:00
MAA b13718002c Smallish typo (#1220) 2017-01-20 11:51:40 -08:00
LRubin e22150bd43 fix markdown (#1293)
Signed-off-by: LRubin <lrubin@docker.com>
2017-01-20 11:32:19 -08:00
Sebastiaan van Stijn a7cb8d980c remove confusing sentence from "publishing" section
the routing mesh should work irregardless of all
replicas being up or not, so removing this sentence.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2017-01-19 11:21:04 -08:00
Misty Stanley-Jones 6415ff6660 Add info about image resolution with content trust 2017-01-19 11:21:03 -08:00
Misty Stanley-Jones b0b446398c Document the ability to publish a port locally on a swarm node 2017-01-19 11:20:58 -08:00
Misty Stanley-Jones f4a28b31ec Document Docker secrets
Fixes #529

Signed-off-by: Misty Stanley-Jones <misty@docker.com>
2017-01-19 11:18:18 -08:00
Misty Stanley-Jones 1b80389ff4 Document ability to update a service's image
Fixes #528

Signed-off-by: Misty Stanley-Jones <misty@docker.com>
2017-01-19 10:38:45 -08:00
Aaron Lehmann 2169ef3b2e swarm: Document rollback, failure threshold, and monitor flags
These are new flags to service create/update being added in a Docker
engine PR.

Signed-off-by: Aaron Lehmann <aaron.lehmann@docker.com>
2017-01-19 10:12:37 -08:00
Misty Stanley-Jones e3a3145cd9 Sync vnext-engine branch to docker/docker SHA 2f12d2808464dcfdf45e0920fd508ce0ff12bd29
This branch will contain forward-looking Engine-specific docs
and be the equivalent of docker/docker master for docs
2017-01-19 10:10:15 -08:00
Misty Stanley-Jones 67b2ea0565 Merge pull request #297 from mstanleyjones/swarm_service_create_no_suitable_node
Add to swarm admin docs
2016-12-12 11:12:45 -08:00