Yong Tang 8235af9772 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-06-02 00:10:51 +00:00
..
2017-06-02 00:10:45 +00:00
2017-06-02 00:10:49 +00:00
2017-06-02 00:10:40 +00:00
2017-06-02 00:10:46 +00:00
2017-06-02 00:06:58 +00:00
2017-06-02 00:10:43 +00:00
2017-06-02 00:10:48 +00:00
2017-06-02 00:10:47 +00:00
2017-06-02 00:10:42 +00:00
2017-06-02 00:10:46 +00:00
2017-06-02 00:10:44 +00:00
2017-06-02 00:10:44 +00:00
2017-06-02 00:10:44 +00:00
2017-06-02 00:10:44 +00:00
2017-06-02 00:10:48 +00:00