set container working directory with $WORKSPACE
add uid and gid as arguments to runDetached