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
  • k

    kind-application-89221

    09/21/2022, 12:10 PM
    I meant
    dockerd
    not
    containerd
    c
    f
    • 3
    • 50
  • b

    best-wall-17038

    09/21/2022, 7:12 PM
    Hi, I am using Tempo in my local k8s cluster and seems somehow tracing span getting weird and weird time by time.. I suspect it might be the issue cause clock skew.. I found something similar here but how should i solve this ? https://github.com/rancher-sandbox/rancher-desktop/issues/839
    c
    f
    • 3
    • 73
  • r

    refined-crowd-99813

    09/21/2022, 9:27 PM
    hey, i'm trying to let docker chew up as much of my memory as i want but i can't convince it to. i've gone into preferences -> virtual machine and set it to 48GB but
    docker stats
    is still showing
    MEM USAGE / LIMIT
    stats that look like
    897.4MiB / 2.909GiB
    . anyone know why this is?
    f
    • 2
    • 14
  • c

    clean-pager-20838

    09/21/2022, 11:16 PM
    Hi, what's the most convenient way to log/ssh into the vm? need to check some details of a docker process
    f
    • 2
    • 2
  • h

    high-toothbrush-33213

    09/22/2022, 3:57 AM
    I'm trying to use the
    local-path
    storage class with WSL, but I'm consistently told
    MountVolume.NewMounter initialization failed for volume "myvolume" : path "/some/path/somewhere" does not exist
    • 1
    • 1
  • s

    steep-school-79756

    09/22/2022, 8:55 AM
    Hi, my name is Vijendra and I am facing one issue with Rancher Desktop app on my Win 10 machine. If I start Rancher Desktop after connecting to VPN (cisco anyconnect), it doesn't work, or hangs. However, once if I start Rancher Desktop app first and then connect to corp VPN, it works seamlessly. Can this issue be fixed?
    w
    • 2
    • 4
  • p

    powerful-elephant-25838

    09/22/2022, 9:01 AM
    we are facing the same sort of issue, all docker pull have a strange behaviour, similar to the one often mentioned here, but there is no documentation on how to solve this: we have enterprise proxy, internal registry and people that work sometimes in remote using VPN, there is a mixture of behaviour some manage to do a "docker pull" some other no. We do not have the knowledge of what to look after to collect useful information to debug the issue
  • s

    steep-school-79756

    09/22/2022, 9:03 AM
    Seems like this is a known issue. If you disconnect from VPN and start Ranchet desktop app, it will work. Once Rancher services are started, you can connect tio VPN
  • p

    powerful-elephant-25838

    09/22/2022, 9:06 AM
    I have to explain all the developer in the area how to work and we would like to have a better understanding of the tech behind it otherwise it become a "ritual". Also I have the case of the following tests:
  • p

    powerful-elephant-25838

    09/22/2022, 9:08 AM
    home net WIFI ->rancher desktop -> vpn OK home net WIFI -> vpn -> rancher desktop OK phone net -> rancher desktop -> vpn KO phone net -> vpn -> rancher desktop KO
  • p

    powerful-elephant-25838

    09/22/2022, 9:08 AM
    same PC
  • s

    steep-school-79756

    09/22/2022, 9:08 AM
    Not sure what's the problem
  • p

    powerful-elephant-25838

    09/22/2022, 9:09 AM
    it seems that there are some quirks that cannot be solved using the approach of "ritual"
  • p

    powerful-elephant-25838

    09/22/2022, 9:10 AM
    Is there a way for inspecting these behaviour and maybe also helping the community with some documented solutions?
  • s

    steep-school-79756

    09/22/2022, 9:26 AM
    I would like to know the same 🙂
  • g

    gray-hamburger-78209

    09/22/2022, 4:21 PM
    Hi all ! any one knows how to create a user token for rancher desktop ? I need this token for a k8s HTTP API client app that can only authenticate with a Bearer Token. I'm not sure to explain right the token I need, so if it can helps : once generated, this kind of token can be defined in kubectl ~/.kube/config file as a users.user.token entry).
    q
    • 2
    • 4
  • b

    bumpy-megabyte-97895

    09/22/2022, 9:31 PM
    Hi, I am running rancher-desktop (mobyd) on mac m1. I have the 1.5.1 version. My app is using mvn docker plugin, so I had to set docker_host env variable to switch the docker context from default to rancher specific. I can see
    mvn docker:run
    is successful and see an entry when I do `docker ps`but still getting a cannot connect exception.
    ChastClientException: (-1, null, false) Processing exception while communicating to: <http://localhost:32124>
    This is the output from docker ps.
    CONTAINER ID   IMAGE                                         COMMAND                  CREATED          STATUS          PORTS                                           NAMES
    8548d5ea9f22   paasdevsss/sss/wfaas-in-memory:1.0-SNAPSHOT   "/sbin/simple_init.py"   19 minutes ago   Up 19 minutes   0.0.0.0:32124->32124/tcp, :::32124->32124/tcp   xenodochial_khayyam
    w
    • 2
    • 1
  • a

    acoustic-bird-11838

    09/23/2022, 11:49 AM
    Hi has any faced this issue?
    i
    • 2
    • 7
  • m

    many-kite-98414

    09/23/2022, 12:50 PM
    Hi,
  • m

    many-kite-98414

    09/23/2022, 12:53 PM
    Issue: kubectl Unable to connect to the server: dial tcp 172.0.0.0:6443: socket: An invalid argument was supplied. I am trying to follow the tutorial - https://docs.rancherdesktop.io/how-to-guides/hello-world-example#deploy-to-kubernetes I am getting above mentioned error at the time of executing the following: Demo\Docker\nginx>kubectl run hello-world --image=nginx-helloworld:latest --image-pull-policy=Never --port=80 Unable to connect to the server: dial tcp 172.0.0.0:6443: socket: An invalid argument was supplied. Appreciate your help in resolving it. Thanks.
  • i

    icy-garage-31078

    09/23/2022, 4:07 PM
    Can anyone tell me what image/os is being used for lima when running on OSX M1?
    f
    • 2
    • 20
  • k

    kind-jackal-41845

    09/26/2022, 10:19 AM
    Hello everyone, I am new on Rancher, I installed rancher desktop but I'm facing a problem opening the dashboard, it shows 404 not found
  • k

    kind-jackal-41845

    09/26/2022, 10:30 AM
    this might be the issue for me
  • s

    steep-school-79756

    09/26/2022, 10:52 AM
    any help would be highly appreciated. Basically just wanted know how to mount local windows folder with pods.
    q
    • 2
    • 2
  • b

    blue-lock-78400

    09/26/2022, 7:37 PM
    Hi! I recently got a mac M1 for my work and I would like to be able to configure the insecure registries I use to compose my containers. I managed to do it with Docker Desktop by configuring the ~/.docker/daemon.json file but when I switch to rancher I get an error that the registry is not in the insecure registries list. I checked the messages above but I don’t have the same file architecture as the previous cases. Any idea how to fix the situation?
    f
    • 2
    • 5
  • p

    proud-jewelry-76210

    09/27/2022, 7:45 AM
    Hey! I'm trying to automatically run a wsl-vpnkit command when rancher desktop starts up, I tried to create a file in the %AppData%\rancher-desktop\provisioning directory called initvpn.start File content:
    #!/bin/sh
    /mnt/c/Windows/system32/wsl.exe -d wsl-vpnkit service wsl-vpnkit start
    Made sur that the line endings are LF. If I run the same command through wsl in the rancher-desktop distribution it works, but not with the script. I couldn't find any logs about the command run either, is it even logged somewhere? Thanks
    f
    • 2
    • 2
  • b

    best-wall-17038

    09/27/2022, 8:51 AM
    Whaat might be the reason of these errros
    2022-09-27T08:49:53.925Z: stderr: I0927 10:49:53.925494   28463 trace.go:205] Trace[674935082]: "Reflector ListAndWatch" name:pkg/mod/github.com/rancher/client-go@v1.20.0-rancher.1/tools/cache/reflector.go:168 (27-Sep-2022 10:47:58.685) (total time: 115239ms):
    Trace[674935082]: [1m55.239759959s] [1m55.239759959s] END
    E0927 10:49:53.925508   28463 reflector.go:139] pkg/mod/github.com/rancher/client-go@v1.20.0-rancher.1/tools/cache/reflector.go:168: Failed to watch *v1.RoleBinding: failed to list *v1.RoleBinding: Get "<https://127.0.0.1:6443/apis/rbac.authorization.k8s.io/v1/rolebindings?resourceVersion=393647>": net/http: TLS handshake timeout
    
    2022-09-27T08:49:53.940Z: stderr: I0927 10:49:53.940073   28463 trace.go:205] Trace[1109481154]: "Reflector ListAndWatch" name:pkg/mod/github.com/rancher/client-go@v1.20.0-rancher.1/tools/cache/reflector.go:168 (27-Sep-2022 10:47:58.698) (total time: 115241ms):
    Trace[1109481154]: [1m55.241603375s] [1m55.241603375s] END
    E0927 10:49:53.940090   28463 reflector.go:139] pkg/mod/github.com/rancher/client-go@v1.20.0-rancher.1/tools/cache/reflector.go:168: Failed to watch *v1.ClusterRole: failed to list *v1.ClusterRole: Get "<https://127.0.0.1:6443/apis/rbac.authorization.k8s.io/v1/clusterroles?resourceVersion=393647>": net/http: TLS handshake timeout
    
    2022-09-27T08:49:56.781Z: stderr: time="2022-09-27T10:49:56+02:00" level=error msg="Failed to read API for groups map[<http://metrics.k8s.io/v1beta1:the|metrics.k8s.io/v1beta1:the> server is currently unable to handle the request]"
  • c

    cool-airline-72564

    09/27/2022, 12:02 PM
    Hello Folks, I do not see the wsl tab in the UI anymore
  • c

    cool-airline-72564

    09/27/2022, 12:02 PM
    Hello Folks, I do not see the wsl tab in the UI anymore
    w
    s
    • 3
    • 2
  • i

    icy-garage-31078

    09/27/2022, 1:40 PM
    A few weeks back I clicked the "Don't Remind Me" checkbox regarding asking for sudo access. I'm now want to go back to using the sudo setup, but even after a factory reset I still am not getting the auth window. Does anyone know how I might 'revert' checkbox?
    f
    • 2
    • 5
Powered by Linen
Title
i

icy-garage-31078

09/27/2022, 1:40 PM
A few weeks back I clicked the "Don't Remind Me" checkbox regarding asking for sudo access. I'm now want to go back to using the sudo setup, but even after a factory reset I still am not getting the auth window. Does anyone know how I might 'revert' checkbox?
I deleted
~/Library/Application\ Support/Rancher\ Desktop
,
~/Library/Application\ Support/rancher-desktop
, and
/private/etc/sudoers.d/zzzzz-rancher-desktop-lima
and the dialog came back, so I'm good now.
Spoke too soon. I got the dialog, but now I'm getting an error from lima saying sudo is required...
f

fast-garage-66093

09/27/2022, 3:33 PM
Did you get the password prompt for admin access and enter the password?
i

icy-garage-31078

09/27/2022, 7:40 PM
Yes, I did, but afterwards I get an error saying a sudo command failed.
sudo --user root --group wheel --non-interactive /bin/mkdir -m 775 -p /private/var/run
Interestingly, now fully restarting the app is no longer giving me the prompt...
View count: 3