terraform/website/source/docs
Daniel Portella 88cdae91e6 provider/docker: added support for linux capabilities (#12045)
* added support for linux capabilities

Refs #11623

Added capabilities block
Added tests for it
Added documentation for it.

My PC doesnt support memory swap so it errors there.

```
$ make testacc TEST=./builtin/providers/docker TESTARGS='-run=TestAccDockerContainer_'
==> Checking that code complies with gofmt requirements...
go generate $(go list ./... | grep -v /terraform/vendor/)
2017/02/17 14:57:08 Generated command/internal_plugin_list.go
TF_ACC=1 go test ./builtin/providers/docker -v -run=TestAccDockerContainer_ -timeout 120m
=== RUN   TestAccDockerContainer_basic
--- PASS: TestAccDockerContainer_basic (44.50s)
=== RUN   TestAccDockerContainer_volume
--- PASS: TestAccDockerContainer_volume (40.73s)
=== RUN   TestAccDockerContainer_customized
--- FAIL: TestAccDockerContainer_customized (50.27s)
	testing.go:265: Step 0 error: Check failed: Check 2/2 error: Container has wrong memory swap setting: -1
	Please check that you machine supports memory swap (you can do that by running 'docker info' command).
=== RUN   TestAccDockerContainer_upload
--- PASS: TestAccDockerContainer_upload (38.56s)
FAIL
exit status 1
FAIL	github.com/hashicorp/terraform/builtin/providers/docker	174.070s
Makefile:48: recipe for target 'testacc' failed
make: *** [testacc] Error 1
```

* Documentation changes.

* added maxitems and rerun tests
2017-03-07 18:48:20 +02:00
..
backends Merge pull request #12366 from hashicorp/f-state-docs 2017-03-02 08:51:48 -08:00
commands website: env switch => select 2017-03-01 21:51:40 -08:00
configuration helper/schema: Add configurable Timeouts (#12311) 2017-03-02 11:07:49 -06:00
import typo? (#11933) 2017-02-15 09:33:55 +00:00
internals
modules website/docs: Run `terraform fmt` on code examples (#12075) 2017-02-19 00:48:50 +02:00
plugins
providers provider/docker: added support for linux capabilities (#12045) 2017-03-07 18:48:20 +02:00
provisioners website/docs: Run `terraform fmt` on code examples (#12075) 2017-02-19 00:48:50 +02:00
state website: env switch => select 2017-03-01 21:51:40 -08:00
index.html.markdown