Skip to content

Instantly share code, notes, and snippets.

@levihuayuzhang
Created August 20, 2025 19:30
Show Gist options
  • Select an option

  • Save levihuayuzhang/edee9dbc3ed5bd1e20da6557b383d0f0 to your computer and use it in GitHub Desktop.

Select an option

Save levihuayuzhang/edee9dbc3ed5bd1e20da6557b383d0f0 to your computer and use it in GitHub Desktop.
Rancher Desktop Mac proxy settings
  1. go to lima shell:
rdctl shell
  1. change configs:
sudo vi /etc/conf.d/docker
HTTP_PROXY="xxxx"

HTTPS_PROXY="xxxx"

NO_PROXY="localhost,127.0.0.1,xxxxx"

export HTTP_PROXY
export HTTPS_PROXY
export NO_PROXY
sudo vi /etc/rc.conf
rc_env_allow="*" 
  1. restart Rancher Desktop and test.

Ref:

  1. rancher-sandbox/rancher-desktop#2259 (comment)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment