I'd do `context.close()` at the end of the method, after doing stuff with the container (e.g. just in case some of these things were to be evaluated lazily). I guess you know they are not because you wrote the jclouds-docker support :-)

If doing `close` at the end, then worth a try-finally block.