The Docker CLI
Go to file
Yong Tang b849aa6b95 Add `--read-only` for `service create` and `service update`
This fix tries to address the issue raised in 29972 where
it was not possible to specify `--read-only` for `docker service create`
and `docker service update`, in order to have the container's root file
system to be read only.

This fix adds `--read-only` and update the `ReadonlyRootfs` in `HostConfig`
through `service create` and `service update`.

Related docs has been updated.

Integration test has been added.

This fix fixes 29972.

Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
2017-01-30 12:47:26 -08:00
command Add `--read-only` for `service create` and `service update` 2017-01-30 12:47:26 -08:00
compose Set default values for uid and gid to prevent errors when starting a service. 2017-01-26 12:00:46 -05:00
config Add `--format` flag for `docker plugin ls` 2017-01-20 15:59:44 -08:00
debug Move debug functions to cli/debug package 2016-12-12 09:33:58 +01:00
flags Trim quotes from TLS flags. 2017-01-03 15:58:41 -05:00
internal/test Add some unit tests to the node and swarm cli code 2017-01-09 18:30:15 +01:00
trust Merge pull request #29313 from vdemeester/move-cli-config 2016-12-28 09:05:51 -08:00
cobra.go exit with status 1 if help is called on an invalid command. 2016-11-23 15:13:58 -05:00
error.go Remove old cli framework. 2016-08-25 13:09:04 -04:00
required.go fix typos 2016-07-05 20:42:17 +08:00