0

I need to add this for pushing docker images to remote machine. '{ "insecure-registries" : ["10.60.3.4:6000"] }'

vaibhav
  • 37
  • 5

1 Answers1

1

The insecure registries can be added via rancher's wsl. Here's a solution that worked for me.

In Command Prompt or Powershell execute

wsl -d rancher-desktop -e vi /etc/docker/daemon.json

then add the registry/ies you require like that:

{
    "insecure-registries": [  
       "url-registry-url"
    ]
}

Source (besides others): https://github.com/rancher-sandbox/rancher-desktop/discussions/870#discussioncomment-2673125

Alex_S42
  • 26
  • 4