However when I change args to extra_args and try restarting the docker daemon as the answer suggests, the daemon perpetually restarts itself. So its status is usually something like:
You’re sending a HTTPS request to a port that is expecting HTTP. Insecure registry is still HTTPS (but without verifying the certificate) unless you explicitly say http://192.168.0.4:5000.
The way I’m reading the Docker docs, it seems like I should be able to use http. I assumed setting the args in cloud-config.yml would accomplish the same thing described here: https://docs.docker.com/registry/insecure/#/deploying-a-plain-http-registry
but when I run docker info I don’t see my registry listed under “Insecure Registries”, so it feels like rancher isn’t passing the args to docker.