initial import from here: http://blog.golang.org/context
copy from here: https://github.com/bradfitz/camlistore/blob/955cd34404f1259cd240a425d8f08f4cedf6f28c/pkg/test/dockertest/docker.go
Do not skip test if Docker fails. Updated docker image and run parameters.