simplify docker integration code and remove command pattern calls

It does not