mirror of
https://github.com/docker/docs.git
synced 2026-10-31 10:34:26 +03:00
Service create vs run (#3217)
This compose section should reference docker service create, not docker run options https://github.com/moby/moby/issues/32844
This commit is contained in:
committed by
Misty Stanley-Jones
parent
0e94cdde40
commit
d0e12df054
@@ -327,7 +327,7 @@ options in Compose files prior to version 3 (`cpu_shares`, `cpu_quota`,
|
||||
`cpuset`, `mem_limit`, `memswap_limit`, `mem_swappiness`).
|
||||
|
||||
Each of these is a single value, analogous to its
|
||||
[docker run](/engine/reference/run.md) counterpart.
|
||||
[docker service create](/engine/reference/commandline/service_create.md) counterpart.
|
||||
|
||||
```none
|
||||
version: '3'
|
||||
|
||||
Reference in New Issue
Block a user