Files
nomad/drivers/docker
Mahmood Ali 314d7a0f41 drivers/docker: rename logging type to driver
Docker uses the term logging `driver` in its public documentations: in
`docker` daemon config[1], `docker run` arguments [2] and in docker compose file[3].
Interestingly, docker used `type` in its API [4] instead of everywhere
else.

It's unfortunate that Nomad used `type` modeling after the Docker API
rather than the user facing documents.  Nomad using `type` feels very
non-user friendly as it's disconnected from how Docker markets the flag
and shows internal representation instead.

Here, we rectify the situation by introducing `driver` field and
prefering it over `type` in logging.

[1] https://docs.docker.com/config/containers/logging/configure/
[2] https://docs.docker.com/engine/reference/run/#logging-drivers---log-driver
[3] https://docs.docker.com/compose/compose-file/#logging
[4] https://docs.docker.com/engine/api/v1.39/#operation/ContainerCreate
2019-02-28 16:04:03 -05:00
..
2019-01-11 11:36:37 -08:00
2019-02-22 14:19:58 +01:00
2019-02-20 08:21:03 -05:00
2019-01-17 18:43:14 +01:00
2019-01-28 09:53:19 -08:00
2019-02-22 14:19:58 +01:00
2019-02-22 14:19:58 +01:00
2019-01-17 18:43:14 +01:00