Support command line runs within docker images: handle merging of docker local and global configuration. Allow specification of work directory