As all build steps, the SCM checkout commands are ran inside a container. This option let you configure a docker image which has the adequate SCM tool installed. buildpack-deps:scm we recommend by default do support git, mercurial, bazaar and subversion. As it is an ancestry for the jenkinsci/slave image, you probably already have this image available on your Dockerhost.