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
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
..
backend record pid of exec'd process 2016-10-20 17:06:11 +02:00
blkiodev Add engine-api types to docker 2016-09-07 11:05:58 -07:00
container Set expected response headers for Ping. 2017-01-03 11:47:47 -05:00
events Add engine-api types to docker 2016-09-07 11:05:58 -07:00
filters Refactoring ineffectual assignments 2017-01-13 00:27:01 -07:00
image Set expected response headers for Ping. 2017-01-03 11:47:47 -05:00
mount fix typo in mount.go 2017-01-13 22:36:32 +08:00
network change minor mistake of spelling 2016-12-20 21:05:19 +08:00
reference *: use opencontainers/go-digest package 2017-01-06 18:48:41 -08:00
registry hack/swagger-gen.sh is not exist, it should be /hack/generate-swagger-api.sh 2016-11-22 16:32:32 +08:00
strslice Add engine-api types to docker 2016-09-07 11:05:58 -07:00
swarm Add --read-only for service create and service update 2017-01-30 12:47:26 -08:00
time fix typo in api/types/time/timestamp.go 2017-01-14 14:16:03 +08:00
versions Merge pull request #28651 from YuPengZTE/devMD002 2016-11-22 13:11:37 +01:00
volume hack/swagger-gen.sh is not exist, it should be /hack/generate-swagger-api.sh 2016-11-22 16:32:32 +08:00
auth.go Add engine-api types to docker 2016-09-07 11:05:58 -07:00
client.go fix typo in api/types/client.go 2017-01-14 15:10:08 +08:00
configs.go Enforce zero plugin refcount during disable. 2016-12-22 13:26:53 -08:00
error_response.go Update to inline comments. 2016-10-31 11:13:41 -04:00
graph_driver_data.go Generate GraphDriver from spec, and fix up image spec. 2017-01-03 11:47:47 -05:00
id_response.go Add an IDResponse type 2016-10-31 11:16:02 -04:00
image_delete_response_item.go Generate ImageDeleteResponse from swagger spec. 2017-01-03 11:47:47 -05:00
image_summary.go Generate api/types:Image from the swagger spec 2016-10-20 13:24:23 -07:00
plugin.go plugins: rename DeviceCreation to AllowAllDevices 2017-01-10 13:50:30 -08:00
plugin_device.go Generate plugin types from the swagger spec. 2016-10-20 13:24:23 -07:00
plugin_env.go Generate plugin types from the swagger spec. 2016-10-20 13:24:23 -07:00
plugin_interface_type.go Generate plugin types from the swagger spec. 2016-10-20 13:24:23 -07:00
plugin_mount.go Generate plugin types from the swagger spec. 2016-10-20 13:24:23 -07:00
plugin_responses.go Rename Remote API to Engine API 2016-11-22 12:49:38 +00:00
port.go Generate api/types:Port from swagger spec. 2016-10-20 13:24:23 -07:00
seccomp.go change minor mistake of spelling 2016-12-20 21:05:19 +08:00
service_update_response.go Return warnings from service create and service update when digest pinning fails 2016-11-18 09:31:31 -08:00
stats.go Add support for Names and ID in stats format 2016-11-03 07:20:46 +01:00
types.go Set expected response headers for Ping. 2017-01-03 11:47:47 -05:00
volume.go Return warnings from service create and service update when digest pinning fails 2016-11-18 09:31:31 -08:00