Move dockerCmd to pkg/integration and add tests to it Upstream-commit: 677a6eaf8f33360e87fb915e632a5d0e8e380dbd Component: engine