terraform/builtin/providers
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
..
alicloud
archive
arukas
atlas
aws Check instance is running before trying to attach (#12459) 2017-03-07 16:20:01 +02:00
azure
azurerm
bitbucket
chef
clc
cloudflare
cloudstack
cobbler provider/cobbler: Profile and System Fixes (#12452) 2017-03-06 13:19:30 +02:00
consul
datadog provider/datadog: Update to datadog_monitor still used d.GetOk (#12497) 2017-03-07 16:36:37 +02:00
digitalocean
dme
dns
dnsimple Upgrade DNSimple provider to API v2 (#10760) 2017-03-02 05:12:34 +00:00
docker provider/docker: added support for linux capabilities (#12045) 2017-03-07 18:48:20 +02:00
dyn
external
fastly
github
google provider/google: initial commit for node pool resource (#11802) 2017-03-06 14:59:24 -08:00
grafana
heroku
icinga2
ignition provider/ignition: migration from resources to data resources (#11851) 2017-03-06 14:23:04 +02:00
influxdb
librato
logentries
mailgun
mysql mysql: Avoid crash on un-interpolated provider cfg (#12391) 2017-03-05 15:58:15 +02:00
newrelic
nomad
ns1 provider/ns1: Add notify list resource (#12373) 2017-03-05 16:21:06 +02:00
null
openstack provider/openstack: Add openstack_networking_network_v2 datasource (#12304) 2017-03-06 13:25:08 +02:00
opsgenie
packet
pagerduty provider/pagerduty: Updated implementation of pagerduty_vendor & pagerduty_service_integration (#12357) 2017-03-01 23:59:16 +00:00
postgresql
powerdns
profitbricks
rabbitmq
rancher
random
rundeck
scaleway
softlayer
spotinst
statuscake provider/statuscake: use default status code list when updating test (#12375) 2017-03-05 15:44:22 +02:00
template
terraform
test
tls
triton
ultradns
vault
vcd
vsphere