docs: Docker driver supports task user option

Also, add a test case.
This commit is contained in:
Mahmood Ali
2019-10-24 14:00:37 -04:00
parent 902a101e32
commit 00a0be0df1
2 changed files with 19 additions and 0 deletions

View File

@@ -413,6 +413,8 @@ The `docker` driver supports the following configuration in the job spec. Only
* `pids_limit` - (Optional) An integer value that specifies the pid limit for
the container. Defaults to unlimited.
Additionally, docker driver supports customization of the container user through task [`user` option](/docs/job-specification/task.html#user).
### Container Name
Nomad creates a container after pulling an image. Containers are named