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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In