Skip to content

Commit

Permalink
docs: Update command typo (#487)
Browse files Browse the repository at this point in the history
Doc regenerated with `make website-generation`
  • Loading branch information
AndreMiras authored Dec 15, 2022
1 parent 4dd3603 commit 6d936c5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/resources/container.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ resource "docker_image" "ubuntu" {

- `attach` (Boolean) If `true` attach to the container after its creation and waits the end of its execution. Defaults to `false`.
- `capabilities` (Block Set, Max: 1) Add or drop certrain linux capabilities. (see [below for nested schema](#nestedblock--capabilities))
- `command` (List of String) The command to use to start the container. For example, to run `/usr/bin/myprogram -f baz.conf` set the command to be `["/usr/bin/myprogram","-","baz.con"]`.
- `command` (List of String) The command to use to start the container. For example, to run `/usr/bin/myprogram -f baz.conf` set the command to be `["/usr/bin/myprogram","-f","baz.con"]`.
- `container_read_refresh_timeout_milliseconds` (Number) The total number of milliseconds to wait for the container to reach status 'running'
- `cpu_set` (String) A comma-separated list or hyphen-separated range of CPUs a container can use, e.g. `0-1`.
- `cpu_shares` (Number) CPU shares (relative weight) for the container.
Expand Down
2 changes: 1 addition & 1 deletion internal/provider/resource_docker_container.go
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ func resourceDockerContainer() *schema.Resource {

"command": {
Type: schema.TypeList,
Description: "The command to use to start the container. For example, to run `/usr/bin/myprogram -f baz.conf` set the command to be `[\"/usr/bin/myprogram\",\"-\",\"baz.con\"]`.",
Description: "The command to use to start the container. For example, to run `/usr/bin/myprogram -f baz.conf` set the command to be `[\"/usr/bin/myprogram\",\"-f\",\"baz.con\"]`.",
Optional: true,
ForceNew: true,
Computed: true,
Expand Down

0 comments on commit 6d936c5

Please sign in to comment.