The Docker CLI
Go to file
Yong Tang f21ec0b4d1 Add `--cpus` support for `docker update`
This fix tries to address the issue raised in 31032 where it was
not possible to specify `--cpus` for `docker update`.

This fix adds `--cpus` support for `docker update`. In case both
`--cpus` and `--cpu-period/--cpu-quota` have been specified,
an error will be returned.

Related docs has been updated.

Integration tests have been added.

This fix fixes 31032.

This fix is related to 27921, 27958.

Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
2017-04-06 15:40:12 -07:00
command Add `--cpus` support for `docker update` 2017-04-06 15:40:12 -07:00
compose Merge pull request #32407 from dnephin/fix-rw-mode-compose-files 2017-04-06 16:24:20 -04:00
config Add `--format` for `docker node ls` 2017-04-04 11:26:35 -07:00
debug Move debug functions to cli/debug package 2016-12-12 09:33:58 +01:00
flags fix the type 2017-02-14 09:54:27 +08:00
internal/test Add --prune to stack deploy. 2017-03-14 16:09:28 -04:00
trust Replace fmt.Errorf() with errors.Errorf() in the cli 2017-03-24 16:58:07 -04:00
cobra.go Replace fmt.Errorf() with errors.Errorf() in the cli 2017-03-24 16:58:07 -04:00
error.go Remove old cli framework. 2016-08-25 13:09:04 -04:00
required.go Replace fmt.Errorf() with errors.Errorf() in the cli 2017-03-24 16:58:07 -04:00