1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/daemon/cluster
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
..
convert Add --read-only for service create and service update 2017-01-30 12:47:26 -08:00
executor Add --read-only for service create and service update 2017-01-30 12:47:26 -08:00
provider Add engine-api types to docker 2016-09-07 11:05:58 -07:00
cluster.go Remove attachable network on swarm leave 2017-01-26 11:16:07 -08:00
filters.go secrets: secret management for swarm 2016-11-09 14:27:43 -05:00
helpers.go update response status code for cluster request 2016-12-19 10:21:10 +08:00
listen_addr.go Reject unspecified advertise addr on swarm init 2016-11-28 15:44:06 -08:00
listen_addr_linux.go Add fallback to resolveSystemAddr() in linux 2016-09-09 13:27:57 -07:00
listen_addr_others.go Add functional support for Docker sub commands on Solaris 2016-11-07 09:06:34 -08:00
listen_addr_solaris.go Add functional support for Docker sub commands on Solaris 2016-11-07 09:06:34 -08:00
noderunner.go Merge pull request #30145 from anusha-ragunathan/ps-swarm 2017-01-20 10:35:49 -08:00
secrets.go Move secret name or ID prefix resolving from client to daemon 2017-01-27 10:40:05 -08:00
utils.go Switch cluster locking strategy 2016-11-30 14:59:12 -08:00