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
Anusha Ragunathan 342ed107bc Embed DockerVersion in plugin config.
Embedding DockerVersion in plugin config when the plugin is created,
enables users to do a docker plugin inspect and know which version
the plugin was built on. This is helpful in cases where users are
running a new plugin on older docker releases and confused at
unexpected behavior.

By embedding DockerVersion in the config, we claim that there's no
guarantee that if the plugin config's DockerVersion is greater that
the version of the docker engine the plugin is executed against, the
plugin will work as expected.

For example, lets say:
- in 17.03, a plugin was released as johndoe/foo:v1
- in 17.05, the plugin uses the new ipchost config setting and author
publishes johndoe/foo:v2

In this case, johndoe/foo:v2 was built on 17.05 using ipchost, but is
running on docker-engine version 17.03. Since 17.05 > 17.03, there's
no guarantee that the plugin will work as expected. Ofcourse, if the
plugin did not use newly added config settings (ipchost in this case)
in 17.05, it would work fine in 17.03.

Signed-off-by: Anusha Ragunathan <anusha.ragunathan@docker.com>
2017-03-22 10:26:20 -07:00
..
backend why there are so many mistakes in our repo (up to /cmd) 2017-02-17 00:32:48 +08:00
blkiodev
container (*) Support --net:container:<containername/id> for windows 2017-02-28 20:03:43 -08:00
events
filters use t.Fatal() to output the err message where the values used for formatting 2017-02-23 10:16:22 +08:00
image Set expected response headers for Ping. 2017-01-03 11:47:47 -05:00
mount Add 'consistent', 'cached', and 'delegated' mode flags 2017-03-01 18:13:47 +00:00
network Enhance network inspect to show all tasks, local & non-local, in swarm mode 2017-03-13 17:52:08 -07:00
registry
strslice
swarm Add support for rollback flags 2017-03-03 16:33:34 -08:00
time fix typo in api/types/time/timestamp.go 2017-01-14 14:16:03 +08:00
versions
volume
auth.go
client.go api: Remove SecretRequestOption type 2017-03-16 11:20:31 -07:00
configs.go Enforce zero plugin refcount during disable. 2016-12-22 13:26:53 -08:00
error_response.go
graph_driver_data.go Generate GraphDriver from spec, and fix up image spec. 2017-01-03 11:47:47 -05:00
id_response.go
image_delete_response_item.go Generate ImageDeleteResponse from swagger spec. 2017-01-03 11:47:47 -05:00
image_summary.go
plugin.go Embed DockerVersion in plugin config. 2017-03-22 10:26:20 -07:00
plugin_device.go
plugin_env.go
plugin_interface_type.go
plugin_mount.go
plugin_responses.go Rewrite the function 'validatePrivileges' without checking order 2017-02-04 08:47:40 +08:00
port.go
seccomp.go change minor mistake of spelling 2016-12-20 21:05:19 +08:00
service_update_response.go
stats.go Correct CPU usage calculation in presence of offline CPUs and newer Linux 2017-03-10 10:24:33 +00:00
types.go Merge pull request #31710 from sanimej/drillerrr 2017-03-13 21:12:32 -07:00
volume.go