simplify docker integration code and remove command pattern calls

when errc goes out of scope and the goroutine attempts to push the result in to the channel, the runtime will garbage collect it.