Uploaded image for project: 'ONAP Operations Manager'
  1. ONAP Operations Manager
  2. OOM-1309

Correct the Docker command to use insecure registry

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Medium Medium
    • Beijing Release
    • Beijing Release
    • None
    • None

      The script  openstack-rancher.sh   sets insecure registry  by the following command:

      cat > /etc/systemd/system/docker.service.d/docker.conf << EOF
      [Service]
      ExecStart=
      ExecStart=/usr/bin/dockerd -H fd:// --insecure-registry=nexus3.onap.org:10001
      EOF
      

      This code should be replaced with the following command:

      cat > /etc/docker/daemon.json << EOF
      {
          "insecure-registries": ["nexus3.onap.org:10001"]
      }
      EOF
      

      Please see the Docker documentation.

            melliott melliott
            ozgecan ozgecan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: