https://rancher.com/ logo
Join the conversationJoin Slack
Channels
academy
amazon
arm
azure
cabpr
chinese
ci-cd
danish
deutsch
developer
elemental
epinio
espanol
events
extensions
fleet
français
gcp
general
harvester
harvester-dev
hobbyfarm
hypper
japanese
k3d
k3os
k3s
k3s-contributor
kim
kubernetes
kubewarden
lima
logging
longhorn-dev
longhorn-storage
masterclass
mesos
mexico
nederlands
neuvector-security
office-hours
one-point-x
onlinemeetup
onlinetraining
opni
os
ozt
phillydotnet
portugues
rancher-desktop
rancher-extensions
rancher-setup
rancher-wrangler
random
rfed_ara
rio
rke
rke2
russian
s3gw
service-mesh
storage
submariner
supermicro-sixsq
swarm
terraform-controller
terraform-provider-rancher2
terraform-provider-rke
theranchcast
training-0110
training-0124
training-0131
training-0207
training-0214
training-1220
ukranian
v16-v21-migration
vsphere
windows
Powered by Linen
rancher-desktop
  • p

    powerful-elephant-25838

    11/30/2022, 8:29 AM
    can you please add this info during compilation?
  • h

    happy-midnight-56925

    11/30/2022, 10:50 AM
    Hi, Any solution to this? Unable to figure. This has been happening since 1.6.x
    w
    j
    • 3
    • 20
  • b

    billowy-vegetable-58311

    11/30/2022, 11:23 AM
    HI team when I am starting the rancher desktop, I am getting the below error, I have shared the screen shot I am getting Diagnostics error as below ..
    The ~/.rd/bin directory has not been added to the PATH, so command-line utilities are not configured in your bash shell.
    j
    k
    • 3
    • 2
  • b

    billowy-vegetable-58311

    11/30/2022, 11:27 AM
    Please help
  • b

    bitter-noon-90925

    11/30/2022, 2:32 PM
    Hello, I hope this channel is the correct one. We are currently evaluating Rancher Desktop at our Company and I’m coordinating this process. We have currently this issue https://github.com/rancher-sandbox/rancher-desktop/issues/905 with our company proxy. We have defined our proxies in our override.yamls and iff rancher desktop or lima VM boots, we can use docker registries through our proxy. But rancher desktop doesn’t start up every now and then, with the error message in the issue #905. Is there any workaround to this issue? Thanks
    w
    j
    • 3
    • 18
  • q

    quick-keyboard-83126

    11/30/2022, 5:46 PM
    Should I be able to use
    docker run -v /tmp/foo:/tmp/bar -it busybox
    on macOS w/ rancher desktop where
    /tmp/foo
    is a directory?
    h
    s
    • 3
    • 4
  • e

    early-lunch-37616

    11/30/2022, 6:48 PM
    Hi everyone, I'm hoping someone can help me figure out a docker auth issue I'm having. Using Rancher Desktop with nerdctl I'm getting 403 auth errors when trying to pull images from GCR. I'm logged in with nerdctl and was able to pull images when using dockerCLI. Any ideas?
    r
    • 2
    • 19
  • q

    quick-keyboard-83126

    11/30/2022, 9:05 PM
    I have a container (neo4j) which runs w/ a user neo4j (101). I'm on macOS where my host user is 501:20. What do I need to do to get the inside container to see the files as owned by neo4j, but still allow the neo4j user to write to the files? If I change the owner on the macOS side to 101:101, then the rdshell side can't write to the files, and I think that's what causes the files not to be writable by neo4j even though neo4j has the 101 that matches the host side.
    s
    • 2
    • 3
  • b

    brief-guitar-52887

    12/01/2022, 1:39 AM
    Hi everyone, if I use rancher-desktop with docker, is a not docker-desktop installation where I have to pay something?
    w
    • 2
    • 1
  • h

    hundreds-match-58238

    12/01/2022, 6:21 PM
    Hello, I've been browsing around github and the channel to see if there's been any progression to the fact that we can't mount volumes with docker-compose (windows WSL), has anyone figured out a workaround?
    • 1
    • 1
  • s

    some-petabyte-4846

    12/01/2022, 7:01 PM
    Docker registry for test images. Is there a way to install docker registry within k3s so that we can use local docker registry for images just for testing and cleanup images every few days from within a cronjob in the cluster? Thanks in advance. Cheers
    c
    f
    • 3
    • 25
  • e

    enough-hairdresser-48119

    12/02/2022, 10:53 AM
    message has been deleted
    q
    k
    • 3
    • 7
  • b

    bitter-hairdresser-7812

    12/02/2022, 7:48 PM
    Rancher Desktop 1.6.2 is filling an awesome role in local dev for our dev teams - thank you! As we're exploring using different ingress controllers so that local dev can match hosted, we're running into an issue where we can't port forward well-known ports (namely 80 & 443) after disabling Traefik even when we grant admin. I can change the port to a higher one like 8443, but when I try port 443 I get this
    listen EACCESS: permission denied
    error log pasted below. I've factory reset RD and have been extra careful to disable traefik (and do another Reset Kubernetes) but no luck. Changing to higher ports doesn't help us because we want to mimic the hosted envs which use subdomain hostnames (we're also using mkcert) as a local CA.
    $ tail -f /Users/jyee/Library/Logs/rancher-desktop/k8s.log
    2022-12-02T19:35:16.260Z: Setting up new port forwarding to ingress-nginx/ingress-nginx-controller:https...
    2022-12-02T19:35:16.261Z: Error: listen EACCES: permission denied 127.0.0.1:443
  • e

    eager-microphone-55450

    12/02/2022, 8:13 PM
    I'm having issues getting Rancher Desktop to work on Windows 11. It "starts" in that I click on the icon from the Start menu, and then nothing… but it shows 3 related process running.
    w
    k
    • 3
    • 2
  • e

    eager-microphone-55450

    12/02/2022, 8:18 PM
    I had Docker Desktop, but it was flaky… and I removed it. Installed v1.6.2… and that was the experience.
  • b

    bitter-noon-90925

    12/05/2022, 12:51 PM
    Hello everyone, is there a way to configure or list the forwarded ports via preferences menu with kubectl?
  • s

    sparse-potato-80319

    12/05/2022, 2:09 PM
    I put this in the #general -Channel but the better place would be #rancher-desktop.
    k
    • 2
    • 2
  • b

    blue-memory-90404

    12/05/2022, 2:55 PM
    Hello, Is there a way to enable ipv6 in Rancher Desktop?
  • b

    bored-farmer-36655

    12/05/2022, 3:17 PM
    @blue-memory-90404 Hi See https://github.com/rancher-sandbox/rancher-desktop/issues/2062
    b
    f
    • 3
    • 5
  • b

    bitter-hairdresser-7812

    12/05/2022, 4:23 PM
    Anyone seen this
    listen EACCESS: permission denied
    when trying to forward ports (80 or 443 in my case)? I have Traefik off, see some logs and images here: https://rancher-users.slack.com/archives/C0200L1N1MM/p1670010503935679
  • e

    early-lunch-37616

    12/05/2022, 5:45 PM
    Hey there, I got blocked on this thread last week asking for some help pulling images using
    nerdctl
    . Anyone have any ideas? https://rancher-users.slack.com/archives/C0200L1N1MM/p1669834094085999
    r
    f
    • 3
    • 21
  • s

    shy-musician-14644

    12/05/2022, 8:12 PM
    Hi guys, I followed the guide https://docs.rancherdesktop.io/how-to-guides/setup-NGINX-Ingress-Controller/ and tried to change port 8080 to 80 so that http://demo.localdev.me/ is accessible, however that does not work, any idea what needs to be done additionally?
    k
    w
    • 3
    • 8
  • p

    plain-policeman-23418

    12/05/2022, 11:28 PM
    Hopefully an easy question can you set environment variables in the override.yaml? Im looking for the proper syntax if any
  • b

    bored-farmer-36655

    12/05/2022, 11:54 PM
    @plain-policeman-23418 Hi yes under env: and format is for example K3S_EXEC: "--flannel-backend=none"
    💯 1
  • s

    square-zoo-52233

    12/06/2022, 9:22 AM
    Hi there, does anyone know about any solution to fix significant delay on mounted volumes? I am using rancher desktop to develop my web app and anytime I save new changes in my codebase I need to wait about 8sec to get server (running inside docker) restarted.
    k
    • 2
    • 5
  • m

    melodic-kite-90272

    12/07/2022, 12:56 PM
    periodically having this same problem, restarting RD fixes it. But I'd rather not have to do this. https://rancher-users.slack.com/archives/C0200L1N1MM/p1666489570301949 Does anyone have any advice how to troubleshoot this?
    c
    f
    • 3
    • 15
  • g

    gentle-laptop-43224

    12/07/2022, 1:24 PM
    Hi everyone. I am using rancher on mac m1 and I am getting a terrible performance taking like 10x more time to run something comparing to other Macs. Are you aware of it? Is there anything I can do to improve this? Anything in your plans?
    c
    i
    • 3
    • 8
  • q

    quick-keyboard-83126

    12/07/2022, 9:30 PM
    Is there an option to get
    inotify
    to work in Rancher Desktop on macOS?
    i
    f
    • 3
    • 14
  • v

    victorious-rocket-47505

    12/09/2022, 2:45 PM
    Why there is no disk settings.
    w
    f
    • 3
    • 4
  • b

    broad-train-31975

    12/09/2022, 6:54 PM
    I have a proposal addressing consistency: Allow users to specify MAC address for a Lima VM The reason is, some of us use static DHCP, which allows allocating the same IP address for the same MAC address This allows to have a “static” IP without allocating actual static IPs. Benefits? In mixed deployments, when some external services talk to k8s cluster endpoints, it will save time which is needed to reconfigure all external clients in case VM changes IP address. @fast-garage-66093 can we put this in override.yaml file, to avoid dealing with UI?
    f
    • 2
    • 60
Powered by Linen
Title
b

broad-train-31975

12/09/2022, 6:54 PM
I have a proposal addressing consistency: Allow users to specify MAC address for a Lima VM The reason is, some of us use static DHCP, which allows allocating the same IP address for the same MAC address This allows to have a “static” IP without allocating actual static IPs. Benefits? In mixed deployments, when some external services talk to k8s cluster endpoints, it will save time which is needed to reconfigure all external clients in case VM changes IP address. @fast-garage-66093 can we put this in override.yaml file, to avoid dealing with UI?
f

fast-garage-66093

12/09/2022, 6:57 PM
All the interfaces should already have static IP addresses; do you actually see them change?
Sorry, static MAC addresses
I'm about to join a meeting, but can look it up afterwards: the MAC address should be generated from a static host machine id, and the absolute path name to the VM directory.
You should be able to override it, if you want to specify your own, but the current one should not change over over time, even after factory reset
b

broad-train-31975

12/09/2022, 7:00 PM
Well, you can’t have a static IP for the external interface rd0, the one connected to a local network. In order to have a static IP here one needs to allocate it from the available IPs on the local network.
I did have a change from .211 to .217 after firewall (which is also DHCP sever) upgrade
the MAC address should be generated from a static host machine id, and the absolute path name to the VM directory.
this will indeed create the same MAC address unless the VM is moved to another directory
But it actually makes sense - different directories, different VMs, different MACs
f

fast-garage-66093

12/09/2022, 8:52 PM
I've confirmed it, the MAC address is determine by host machine id, full path to the VM, and the index of the interface in your
networks
section in
lima.yaml
If you change your DHCP server, you will get a new IP address because the reservation for the MAC addresses are gone
b

broad-train-31975

12/09/2022, 8:53 PM
Thus if I edit lima.yaml, the MAC changes, even for the same VM?
Understood about DHCP server - it issues addressed on first come, first served basis - unless it’s a static DHCP IP, of course. This is what happened, and I didn’t have static DHCP for that lima VM at the time
f

fast-garage-66093

12/09/2022, 8:54 PM
No, only if this order changes:
networks:
  - lima: rancher-desktop-shared
    interface: rd1
  - lima: rancher-desktop-bridged_en0
    interface: rd0
I will have to double-check if we alway emit them in this order, but I would think so
b

broad-train-31975

12/09/2022, 8:56 PM
if this is inside Lima VM, it wouldn’t matter much - unless someone unintentionally moves things around and reapplies the network settings or reboots the VM
f

fast-garage-66093

12/09/2022, 8:57 PM
Yes,
rd1
is always first, so they should have static MAC addresses: https://github.com/rancher-sandbox/rancher-desktop/blob/main/pkg/rancher-desktop/backend/lima.ts#L591-L603
You should never edit the
lima.yaml
file. But I just realized that if you add additional networks in
override.yaml
, then they will be defined first, so take over the index from
rd1
(and
rd0
). So maybe don't do that (why would you need more network interfaces?) 🙂
b

broad-train-31975

12/09/2022, 8:59 PM
Doesn’t seem you’re using netplan, as I thought - and it doesn’t matter
f

fast-garage-66093

12/09/2022, 9:00 PM
It was always the intention in Lima and RD that MAC addresses are stable, and it looks like they are.
b

broad-train-31975

12/09/2022, 9:00 PM
So maybe don’t do that (why would you need more network interfaces?)
I currently don’t, but for testing and other purposes, people might
It looks like even if the VM is completely recreated from scratch, the MAC will be the same
f

fast-garage-66093

12/09/2022, 9:01 PM
Yes, as long as it is stored in the same location again, and uses the same list of interfaces
I haven't tested it, but I also would expect that you can put this into `override.yaml`:
networks:
- interface: rd0
  macAddress: "11:22:33:44:55:66"
- interface: rd1
  macAddress: "..."
b

broad-train-31975

12/09/2022, 9:05 PM
What is the reason for using rd0 position in the file? Given that it always has the same position, does it contribute to uniqueness of the MAC address at all?
f

fast-garage-66093

12/09/2022, 9:05 PM
Not sure what happens if you then run RD without sudo, and don't have
rd0
and
rd1
b

broad-train-31975

12/09/2022, 9:07 PM
I do run with sudo - I want the cluster to be accessible from other comps on my network, say for cases I run test driver on another machine to create a load
f

fast-garage-66093

12/09/2022, 9:07 PM
The reason is that
rd1
always exists (if you allow sudo), because it is an internal shared network.
rd0
is a bridged network, so if you are offline on a laptop, you may not have any external interface with an IPv4 address, in which case
rd0
would not be created.
b

broad-train-31975

12/09/2022, 9:08 PM
persistent/sticky DHPC worked as expected
f

fast-garage-66093

12/09/2022, 9:08 PM
So if
rd0
was first, then the MAC address of
rd1
would change if
rd0
could not be created. This way both MAC addresses are stable (if they exist at all)
b

broad-train-31975

12/09/2022, 9:10 PM
if you use names of interfaces instead of their position, you won’t have to worry about positions 🙂
f

fast-garage-66093

12/09/2022, 9:11 PM
Yeah, but the name depends on the interface you are bridging through
So when you are in the office and connected to ethernet, you may bridge through
en0
, but when you are only on wifi you may bridge through
en1
.
Oh, you mean the interface names...
b

broad-train-31975

12/09/2022, 9:13 PM
Yup
f

fast-garage-66093

12/09/2022, 9:13 PM
I can't remember right now why we didn't do that
b

broad-train-31975

12/09/2022, 9:14 PM
My premise is, if something can be edited, somebody will edit it. And change the order of things
if they change names, too bad, shooting themselves in the foot, so let them but changing the order always seems to be harmless
f

fast-garage-66093

12/09/2022, 9:15 PM
I think it was because they are optional, if you don't specify them in
lima.yaml
, then lima will assign
lima0
,
lima1
. etc to them. But we could still have used them for the MAC hash, so I don't know
b

broad-train-31975

12/09/2022, 9:16 PM
Right… anyways, my problem seems to be solved, and I’ve learned a few things thanks to you 🙂
f

fast-garage-66093

12/09/2022, 9:16 PM
I don't think we will change anything, as it would change MAC addresses for everyone when they upgrade
b

broad-train-31975

12/09/2022, 9:16 PM
Yes indeed, and it’ll be breaking change, so you might want to avoid this
f

fast-garage-66093

12/09/2022, 9:16 PM
So what we have seems "good enough" and you can override by explicitly specifying a
macAddress
if you need to
b

broad-train-31975

12/09/2022, 9:17 PM
where do I specify the
macAddress
?
f

fast-garage-66093

12/09/2022, 9:17 PM
In
override.yaml
or
default.yaml
Don't edit
lima.yaml
please! 🙂
b

broad-train-31975

12/09/2022, 9:17 PM
oh yeah - and this is exactly what I was asking for 🙂
f

fast-garage-66093

12/09/2022, 9:18 PM
https://rancher-users.slack.com/archives/C0200L1N1MM/p1670619918744489?thread_ts=1670612070.519329&cid=C0200L1N1MM
b

broad-train-31975

12/09/2022, 9:18 PM
I prefer not to edit anything unless I know what I’m doing
f

fast-garage-66093

12/09/2022, 9:19 PM
lima.yaml
is edited by RD, and we cannot guarantee that we won't break your changes. That's part of the reason I created the
override.yaml
mechanism to keep user changes separate
b

broad-train-31975

12/09/2022, 9:19 PM
I haven’t tested it, but I also would expect that you can put this into
override.yaml
That’s exactly where I expected it to be, thank you for confirming!
f

fast-garage-66093

12/09/2022, 9:20 PM
The thing I had to look up is if network settings are merged, and they are indeed, based on interface name
Some settings are simply concatenated
b

broad-train-31975

12/09/2022, 9:21 PM
While it’s beyond the current conversation topic, it seems like I can also add interfaces (no need for now) in
override.yaml
, is it the case?
Some settings are simply concatenated
you probably mean merged with user settings having a higher priority… but I’m nitpicking 🙂
f

fast-garage-66093

12/09/2022, 9:25 PM
I mean concatenated 😛 E.g. provisioning scripts are combined from
override
,
lima
,
default
in that order, and there is no merging because they don't have a shared key.
✅ 1
Mounts and networks can merge settings based on a shared key, so you can modify a mount in
override
instead of creating a new one.
DNS settings are taken from the highest priority source, so if they are defined in
override
, then settings in
lima
and
default
are ignore because it doesn't make sense to combine nameserver lists
So every setting may have a specialized behaviour how the final value(s) are determined
b

broad-train-31975

12/09/2022, 9:29 PM
OK, good to know
f

fast-garage-66093

12/09/2022, 9:29 PM
Thank you for coming to my TED talk! 😄
😆 1
View count: 13