Anyone know how to set the EXTRA_OPTS for Docker Engine?

Trying to set --insecure-registry option and --registry-mirror option.