How to add docker flags when launching drone agents with the autoscaler

I’m trying to pass some flags to the docker drone agent, namely to use my own --log-driver.

I see I can customize the instance using but I don’t see a config block that lets me configure the docker command the autoscaler uses to bring up the agent container.

Is this something that’s possible?

Only way I can think of right now is to use cloud-init to override the default daemon config to use the log driver I want.

            - path: /etc/docker/daemon.json
              content: |
                  "hosts": [ "", "unix:///var/run/docker.sock" ],
                  "tls": true,
                  "tlsverify": true,
                  "tlscacert": "/etc/docker/ca.pem",
                  "tlscert": "/etc/docker/server-cert.pem",
                  "tlskey": "/etc/docker/server-key.pem",
                  "log-driver": "mydriver",
                  "log-opts": {
                    "tag": "myloggintag"