Insecure registry in rancheros v0.7.0

Hi,

I’m having problem with setting private registry in rancheros v0.7.0.
This is my cloud config:

[root@psprancheros06 ~]# ros config export
hostname: psprancheros06.example.com
rancher:
  console: centos
  docker:
    args:
    - daemon
    - --insecure-registry
    - regd.example.com

And this is the “docker info” output:

Insecure Registries:
 127.0.0.0/8

Once I do “ros os upgrade -i rancher/os:v0.6.1” and reboot, everything works fine.
Can you tell me what am I doing wrong?

Thanks

The args key was removed in v0.7.0 in favor of top-level keys for daemon arguments (http://docs.rancher.com/os/configuration/docker/).

--insecure-registry isn’t one of the flags added yet, so you’d have to use extra_args here.

In short, just switch args to extra_args.