Add insecure docker registry to daemon.json


I try to add an insecure docker registry to a rancherOS kubernetes node.

I’ve found this tutorial over here:

But unfortunately, I am still missing the information on how to access the daemon.json within rancherOS.

sudo vi /etc/default/docker

–> Creates new file

Has anyone an idea about this?

THanks a lot :slight_smile:

$ ros config set rancher.docker.insecure_registry [""]
$ reboot
$ docker info 
# output:
> Insecure Registries:

Secure private registry can follow this docs:
RancherOS Doc