docs: correct "User" attribute in Podman Task Driver Docs (#15421)

This commit is contained in:
scottduszy 2023-01-25 17:52:16 -06:00 committed by GitHub
parent 6677a103c2
commit 851a3a8e6c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 9 deletions

View File

@ -358,15 +358,6 @@ The `podman` driver implements the following [capabilities](/nomad/docs/concepts
- `tty` - (Optional) `true` or `false` (default). Allocate a pseudo-TTY for the
container.
- `user` - (Optional) Run the command as a specific user/uid within the
container. Refer to [task configuration][task].
```hcl
config {
user = "nobody"
}
```
- `volumes` - (Optional) A list of `host_path:container_path:options` strings
to bind host paths to container paths. Named volumes are not supported.
@ -399,6 +390,9 @@ The `podman` driver implements the following [capabilities](/nomad/docs/concepts
}
```
Additionally, the Podman driver supports customization of the container's user
through the task's [`user` option](/nomad/docs/job-specification/task#user).
## Network Configuration
Nomad [lifecycle hooks][nomad_lifecycle_hooks] combined with the drivers