The volume "./buildAgent/conf/:/root/buildAgent/conf/" is mapped to a local config you can customize on the fly and the agent will pick it up immediately.
In order to get docker to connect to the daemon, mount a volume to your local docker.sock (if running ubuntu docker host) "/var/run/docker.sock:/var/run/docker.sock"