1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/api/types/swarm
Yong Tang 499a0dd43e 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
..
common.go Handle logging in compose to swarm 2016-12-05 15:18:36 +01:00
container.go Add --read-only for service create and service update 2017-01-30 12:47:26 -08:00
network.go Handle logging in compose to swarm 2016-12-05 15:18:36 +01:00
node.go added node ip autodetection 2016-11-03 08:10:14 -07:00
secret.go Do not display the digest or size of swarm secrets 2016-11-22 18:13:27 -05:00
service.go api: Hide UpdateStatus when it is not present 2016-12-01 15:08:41 -08:00
swarm.go Allow swarm init with --availability=drain 2017-01-10 16:31:51 -08:00
task.go Add support for host port PublishMode in services 2016-11-10 18:07:55 -08:00