Docker + Openshift reminder

All is well birds are chirping and you get the silly idea of once again booting your local openshift cluster again:oc-cluster up [profile_name].

Soon you are rewarded with the message

Error: did not detect an –insecure-registry argument on the Docker daemon

Of course: silly me I've forgotten about that I've upgraded my packages today and there was an upgrade package for docker.. Shoot. What was that problem about back then?

After a quick search I find the same answer I've already used earlier..

It's almost perfect except the file I need to edit is at a different location:

sudo nano /lib/systemd/system/docker.service
And the relevant line looks like this after adding the necessary flag

ExecStart=/usr/bin/dockerd --insecure-registry 172.30.0.0/16 -H fd://

Yayy! After restarting the docker service all is well and mushy again..