docker-daemonrancher-desktop

modify docker daemon configuration in Rancher Desktop VM


Is there a way to modify docker daemon configuration in Rancher Desktop VM, e.g. adding insecure registries, etc...?

After such modification, I'd like to restart docker daemon for changes to apply. Is there a way to connect to Rancher Desktop VM?

Haven't found anything relevant in https://docs.rancherdesktop.io/faq


Solution

  • Based on this answer :

    LIMA_HOME="$HOME/Library/Application Support/rancher-desktop/lima" "/Applications/Rancher Desktop.app/Contents/Resources/resources/darwin/lima/bin/limactl" shell 0
    

    So it would look like below:

    lima-rancher-desktop:~# tail -1 /etc/conf.d/docker
    DOCKER_OPTS="--insecure-registry=insecure.home:80"