provider/docker: Docker documentation and additional test message (#7412)

* added additional error info for when memory swap assert fails.

related to https://github.com/hashicorp/terraform/pull/7392

* updated docker_container documentation

reflect recent changes to docker provider around tests, dns options and
dns search support.

* Grammar and punctuation changes

Docker container documentation.

* Spell checking, grammar and punctuation.

Docker container documentation.

* Markdown change sto docker container documentation
This commit is contained in:
Daniel Portella 2016-06-29 15:48:15 +01:00 committed by Paul Stack
parent efcec57608
commit 6154fad933

View file

@ -95,7 +95,7 @@ func TestAccDockerContainer_customized(t *testing.T) {
}
if c.HostConfig.MemorySwap != (2048 * 1024 * 1024) {
return fmt.Errorf("Container has wrong memory swap setting: %d", c.HostConfig.MemorySwap)
return fmt.Errorf("Container has wrong memory swap setting: %d\n\r\tPlease check that you machine supports memory swap (you can do that by running 'docker info' command).", c.HostConfig.MemorySwap)
}
if c.HostConfig.CPUShares != 32 {