Skip to content

Commit

Permalink
Adding exec user docs
Browse files Browse the repository at this point in the history
  • Loading branch information
nicomt committed Jun 7, 2021
1 parent bb43f54 commit 65786f1
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions docs/tasks.md
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,7 @@ Runs a new command in a running container
| [`command`](#command) | Command to execute inside the container | Yes |
| [`environment`](#environment) | Add environment variables | No |
| [`working_dir`](#working_dir) | Working directory for the command | No |
| [`user`](#user) | User to execute as | No |



Expand Down Expand Up @@ -166,6 +167,13 @@ command: touch /tmp/example
command: ["touch", "/tmp/example"]
```

#### **user**
User to execute as.

```yml
user: nobody
```

## `Signal Task`
Send a signal to the main process inside the container. Similar to `docker kill --signal`

Expand Down

0 comments on commit 65786f1

Please sign in to comment.