Customising agent docker options - storage driver

Currently the Rancher agents I’m running are running with the --storage-driver aufs option, I want to be able to change this, and other Docker options.

I can’t see how I customize the way docker is run on agents, considering that Rancher is doing the docker install when I create a new agent. Does anyone know how?

The Rancher agent is itself a docker container and does not manage the configuration of the docker daemon.

If you’re creating hosts/VMs through Rancher, that uses docker-machine to create the VM, install docker, and then eventually run the agent. And there is an option (under advanced options in the UI) to set the engine storage driver there.

Thanks, that has pointed me in the right place to change the storage driver.