simplify docker integration code and remove command pattern calls

Does this block until the container starts?