@ -80,6 +80,7 @@ The following arguments are supported:
* `networks` - (Optional, set of strings) Id of the networks in which the
container is.
* `destroy_grace_seconds` - (Optional, int) If defined will attempt to stop the container before destroying. Container will be destroyed after `n` seconds or on successful stop.
* `upload` - (Optional, block) See [File Upload](#upload) below for details.
<aid="ports"></a>
### Ports
@ -127,6 +128,16 @@ the following:
One of `from_container`, `host_path` or `volume_name` must be set.
<aid="upload"></a>
### File Upload
`upload` is a block within the configuration that can be repeated to specify
files to upload to the container before starting it.
Each `upload` supports the following
* `content` - (Required, string) A content of a file to upload.
* `file` - (Required, string) path to a file in the container.