Skip to content

modify docker daemon configuration in Rancher Desktop VM #1477

Answered by jandubois
w7089 asked this question in Q&A
Discussion options

You must be logged in to vote

You didn't specify the OS, so I'm going to assume macOS because I already have the snippets for it in my clipboard history. 😄

There is no supported way, but you can ssh into the VM and edit the config file manually to set DOCKER_OPTS.

Example from an already configured VM:

$ LIMA_HOME="$HOME/Library/Application Support/rancher-desktop/lima" "/Applications/Rancher Desktop.app/Contents/Resources/resources/darwin/lima/bin/limactl" shell 0
lima-rancher-desktop:~# tail -1 /etc/conf.d/docker
DOCKER_OPTS="--insecure-registry=insecure.home:80"

You could restart the docker service afterwards, but stoping and restarting Rancher Desktop would be the clean way to make sure everything including kubern…

Replies: 6 comments 7 replies

Comment options

You must be logged in to vote
2 replies
@electriquo
Comment options

@jandubois
Comment options

Answer selected by w7089
Comment options

You must be logged in to vote
1 reply
@jandubois
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
4 replies
@wstr-ncrum
Comment options

@wstr-ncrum
Comment options

@bakejeyner
Comment options

@JialeCao
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
9 participants