Fixes #8437 - Merge docker commands under docker parent