OpenShift 'oc cluster up' command did not detect an '--insecure-registry' argument on the Docker daemon

Solution Verified - Updated -

Issue

When trying to run oc cluster up command, the output is the following error message:

# oc cluster up
Getting a Docker client ...
Checking if image registry.redhat.io/openshift3/ose-control-plane:v3.11 is available ...
Pulling image registry.redhat.io/openshift3/ose-node:v3.11
Pulled 5/6 layers, 84% complete
Pulled 5/6 layers, 90% complete
Pulled 5/6 layers, 93% complete
Pulled 5/6 layers, 98% complete
Pulled 6/6 layers, 100% complete
Extracting
Image pull complete
Checking type of volume mount ...
Determining server IP ...
Checking if OpenShift is already running ...
Checking for supported Docker version (=>1.22) ...
Checking if insecured registry is configured properly in Docker ...
error: did not detect an --insecure-registry argument on the Docker daemon

Environment

  • Red Hat OpenShift Container Platform (OCP)
    • 3.11
  • Red Hat Enterprise Linux
    • 7.5
    • 7.6

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content