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

    06/08/2022, 3:17 PM
    on windows 10 with powershell executing "docker run ..." the container cannot be stopped with ctlr-c, any hint on how to solve?
    w
    s
    • 3
    • 14
  • b

    blue-cricket-57792

    06/08/2022, 3:53 PM
    Hello, I am running rancher desktop 3.10 on WSL2 in W11. I am getting the following behavior, when launching RD, app stratup keeps getting stuck at Updating kubeconfig for many minutes 😕 I kept deleting and restarting RD, but it stays stuck at the same phase :
    r
    j
    • 3
    • 3
  • c

    clean-laptop-5791

    06/08/2022, 8:35 PM
    Hi everyone! I'm getting started with Rancher Desktop on Win10 with WSL 2 I'm following this blog entry: https://www.suse.com/c/rancher_blog/using-rancher-desktop-for-local-kubernetes-development/ but I don't have the "Application Settings" tab in the app
    r
    c
    w
    • 4
    • 45
  • p

    polite-engineer-55788

    06/09/2022, 9:58 AM
    I dont see
    rdctl
    has ability to pull down the
    kubeconfig
    from the VM, do we have any plan to support that command if not happy to request for that feature
    f
    f
    p
    • 4
    • 7
  • a

    agreeable-lifeguard-63921

    06/09/2022, 1:29 PM
    Is there any documentation for the changes with registry credential helpers in 1.4.1? I used to be able to sign into multiple AWS ECR repos at the same time, but now I can sign in to one just fine, but any subsequent sign ins to different ECR repos produce an error :
    ➜ aws ecr get-login-password --region us-east-1 --profile PROFILENAME | nerdctl --namespace <http://k8s.io|k8s.io> login --username AWS --password-stdin <http://ACCOUNTID.dkr.ecr.us-east-1.amazonaws.com|ACCOUNTID.dkr.ecr.us-east-1.amazonaws.com>
    time="2022-06-09T13:23:20Z" level=fatal msg="error saving credentials: error storing credentials - err: exit status 52, out: ``"
    f
    • 2
    • 5
  • m

    melodic-hamburger-23329

    06/09/2022, 1:42 PM
    What are the correct --output parameters for getting nerdctl build image to local (i.e. visible via
    nerdctl images
    )? If I leave it out, I get correct behavior, though.
    f
    b
    • 3
    • 19
  • b

    bored-farmer-36655

    06/09/2022, 3:22 PM
    @melodic-hamburger-23329 well if it's not default, then try moby
    f
    • 2
    • 3
  • i

    icy-parrot-30770

    06/09/2022, 4:03 PM
    hello everyone, I hope you are all well & safe I just switch from "Docker desktop" to "rancher desktop" Version: 1.4.1 on OSX Version 12.4 after several hours in testing, searching on google, i come here to ask you for some help because i am stucked maybe this issue has already been solved somewhere but do not find it I do a basic installation, kubernetes enabled, containerd as runtime, automated path configuration, sudo access allowed I can pull an image via the following command :
    nerdctl -n k8s.io pull jupyter/datascience-notebook:python-3.10.4
    I can run this basic image :
    nerdctl run -p 8888:8888 jupyter/datascience-notebook:python-3.10.4
    -> it works fine But if build locally a custom image based on this one :
    nerdctl build --namespace k8s.io -t l_jupyter:latest .
    based a Dockerfile like : --------------------------- FROM jupyter/datascience-notebook:python-3.10.4 RUN pip3 install --upgrade python-dotenv --------------------------- => the image "l_jupyter:latest" is visible in the "rancher desktop"/preference/images list in the namespace k8s.io and if i try to run this custom image like this :
    nerdctl run -p 8888:8888 l_jupyter:latest
    OR via a "jupyter.yaml" deployment file like : ---------------------------
    apiVersion: apps/v1
    kind: Deployment
    metadata:
    name: jupyter-deployment
    namespace: default
    labels:
    app: jupyter
    spec:
    replicas: 1
    selector:
    matchLabels:
    app: jupyter
    template:
    metadata:
    labels:
    app: jupyter
    spec:
    containers:
    - name: jupyter
    image: l_jupyter:latest
    imagePullPolicy: Always
    ....
    ....
    --------------------------- via the command :
    kubectl -n default apply -f jupyter.yaml
    or
    kubectl -n k8s.io apply -f jupyter.yaml
    I get the error:
    Failed to pull image "l_jupyter:latest": rpc error: code = Unknown desc = Error response from daemon:
    pull access denied for l_jupyter, repository does not exist or may require 'docker login': denied: requested access to the resource is denied
    I do not understand from where this error come from Do you have any advice to solve it ??
    f
    • 2
    • 5
  • q

    quick-keyboard-83126

    06/09/2022, 7:06 PM
    fwiw,
    Allow sudo access
    seems like a strange way to describe the rancher feature... It feels like it's more
    Make global changes to system (requires sudo access)
    • 1
    • 1
  • a

    acceptable-room-56671

    06/10/2022, 1:41 PM
    Hi all 😃 Trying to get an app with an ingress definition running on Rancher Desktop.. I can see the path-prefixed services are being routed correctly, but the 'default backend' doesn't seem to be routed at all.. the backing service is fine, I added a debug path prefix to test it, and I can pull resources from the service, but it doesn't see the requests without the path prefix, when it's configured as a default backend. Any ideas where to start looking ?
    • 1
    • 3
  • f

    fast-laptop-44610

    06/10/2022, 7:33 PM
    Hello, when trying to pull any image from github by typing in the link (which seems to be the only option) I get this error: level=fatal msg="invalid reference format: repository name must be lowercase"
    f
    • 2
    • 2
  • a

    acceptable-room-56671

    06/11/2022, 3:38 PM
    Is there anyway to view how much memory the pods are using etc? some way to enable a nice monitoring console?
    s
    • 2
    • 2
  • a

    ambitious-jackal-29837

    06/11/2022, 8:02 PM
    What is the preferred method for authenticating with a private Docker registry with Rancher Desktop 1.4.1 on a Mac?
    nerdctl login $registry
    is not working for me
    f
    • 2
    • 19
  • f

    fierce-cat-34865

    06/11/2022, 10:50 PM
    Working from this tutorial. https://docs.rancherdesktop.io/how-to-guides/hello-world-example
    simplescreenrecorder-2022-06-11_15.40.24.mkv
    r
    • 2
    • 1
  • q

    quick-keyboard-83126

    06/13/2022, 6:11 PM
    @fast-garage-66093: I have a 42mb .gif animation of the first 3 panes of Rancher Desktop (file limit is 10mb)
    f
    • 2
    • 12
  • q

    quick-keyboard-83126

    06/13/2022, 8:47 PM
    Anyone know offhand why rancher desktop is still an x86_64 app on m1 (macOS)?
    p
    f
    • 3
    • 76
  • q

    quick-keyboard-83126

    06/13/2022, 9:23 PM
    Building rancher isn't reassuring...
    c
    • 2
    • 6
  • m

    melodic-nest-79477

    06/14/2022, 9:53 AM
    I'm trying to start an elasticsearch / opensearch docker-compose stack but getting opensearch-node2 | [1]: max virtual memory areas vm.max_map_count [65530] is too low, increase to at least [262144] Any idesa how I can set vm.max_map_count either at the container level or os level ?
    f
    l
    • 3
    • 3
  • d

    damp-dog-95269

    06/14/2022, 3:03 PM
    Hey folks, I recently changed my laptop to Mac with M1 chip (from Intel) and replaced Docker Desktop with Rancher Desktop. All good but with one thing keeps annoying me: I can't run
    systemd
    -powered containers properly anymore for some reason. I'm not sure whether it's because of Docker version itself, or it's because of the change of Desktop. To make it clearer, I used footloose, a small cli tool to create so-called VM-like containers where the
    sshd
    process will be on by
    systemd
    within the container so that I can SSH into it by its simple wrapper command, like:
    footloose ssh ubuntu-0 -c ubuntu18.04-1-arm64.yaml
    But it fails now as I found that the
    sshd
    process was not running there like it should. The Dockerfile I used to build Mac M1 image is:
    FROM arm64v8/ubuntu:18.04
    
    ENV container docker
    
    # Don't start any optional services except for the few we need.
    RUN find /etc/systemd/system \
        /lib/systemd/system \
        -path '*.wants/*' \
        -not -name '*journald*' \
        -not -name '*systemd-tmpfiles*' \
        -not -name '*systemd-user-sessions*' \
        -exec rm \{} \;
    
    RUN apt-get update && \
        apt-get install -y \
        dbus systemd openssh-server net-tools iproute2 iputils-ping curl wget vim-tiny sudo && \
        apt-get clean && \
        rm -rf /var/lib/apt/lists/*
    
    RUN >/etc/machine-id
    RUN >/var/lib/dbus/machine-id
    
    EXPOSE 22
    
    RUN systemctl set-default multi-user.target
    RUN systemctl mask \
          dev-hugepages.mount \
          sys-fs-fuse-connections.mount \
          systemd-update-utmp.service \
          systemd-tmpfiles-setup.service \
          console-getty.service
    RUN systemctl disable \
          networkd-dispatcher.service
    
    # This container image doesn't have locales installed. Disable forwarding the
    # user locale env variables or we get warnings such as:
    #  bash: warning: setlocale: LC_ALL: cannot change locale
    RUN sed -i -e 's/^AcceptEnv LANG LC_\*$/#AcceptEnv LANG LC_*/' /etc/ssh/sshd_config
    
    # <https://www.freedesktop.org/wiki/Software/systemd/ContainerInterface/>
    STOPSIGNAL SIGRTMIN+3
    
    CMD ["/bin/bash"]
    So some guesses here: 1. It's because of the
    Docker
    version for the potential
    cgroup
    related issues; 2. It's because of the OS used in the VM powered by Rancher Desktop, which is:
    $ uname -a
    Linux lima-rancher-desktop 5.15.32-0-virt #1-Alpine SMP Mon, 28 Mar 2022 13:09:00 +0000 aarch64 Linux
    Kindly advise. Thanks!
    • 1
    • 2
  • h

    helpful-lock-473

    06/14/2022, 6:11 PM
    Hi Folks! I'm running RD 1.4.1 on Mac 12.4 and hit an issue where my cpu was consumed to the point where I restarted the workstation. Upon restart, RD fails to start the VM with error:
    Error: /private/var/folders/7y/r3mp74g92hn4rtct7nm05g3c0000gp/T/AppTranslocation/B1E60F44-EDB7-45BC-8F61-0A3E9549F7D1/d/Rancher <http://Desktop.app/Contents/Resources/resources/darwin/lima/bin/limactl|Desktop.app/Contents/Resources/resources/darwin/lima/bin/limactl> exited with code 1
    From the Lima logs, it looks like a permissions issue on SSH. I'm not sure why this started happening now, and I haven't been successful in directly changing perms on ssh (operation not permitted). Has anybody seen this before? Thanks
    f
    • 2
    • 4
  • q

    quick-keyboard-83126

    06/14/2022, 6:14 PM
    @proud-jewelry-46860 is there a ticket / plan for python 2.7, e.g. as in https://github.com/rancher-sandbox/rancher-desktop/actions/runs/2491851328
    p
    • 2
    • 2
  • c

    clean-pager-20838

    06/14/2022, 11:40 PM
    trying to install rancher-desktop. i do not want the "sudo" access feature. i.e. i'd prefer to not use /var/run/docker.socket. but i don't see an option for that. is that what would happen if I unselect the "sudo" option? or it will just not set up the socket and assume it is set up?
    p
    f
    • 3
    • 18
  • c

    clean-pager-20838

    06/14/2022, 11:52 PM
    using my distros
    docker image ls
    i can see rancher images, using
    .rd/bin/docker
    i cannot. is that a special filter?
    p
    • 2
    • 8
  • w

    worried-helmet-59461

    06/15/2022, 1:58 PM
    If WSL doesn't have docker cli or anything installed will Rancher Desktop add a cli for communicating with the docker socket?
    w
    p
    • 3
    • 14
  • g

    gifted-answer-45715

    06/15/2022, 8:54 PM
    Hello guys, Is someone solve this issue please ? https://github.com/rancher-sandbox/rancher-desktop/issues/2208
    p
    • 2
    • 5
  • p

    plain-petabyte-67798

    06/15/2022, 9:48 PM
    How can I enable the ingress of rancher desktop.
    Does anyone know why when I try to telnet from my host to the ip of the vm that rancher desktop generates with a port that is listening.
    
    I am running these tests on a mac running macos monterey
    p
    w
    • 3
    • 3
  • f

    future-pharmacist-1236

    06/16/2022, 12:32 AM
    Anyone try to use
    nerdctl
    with a
    -p <port>:<port>/udp
    and not get UDP port exposed. I’m not sure why? I’m trying to figure that out if anyone knows?
    f
    • 2
    • 15
  • s

    square-queen-28787

    06/16/2022, 7:52 AM
    hi, there are a way to set proxy setting on docker engine in rancher-desktop wsl ?
    w
    • 2
    • 4
  • f

    fierce-cat-34865

    06/16/2022, 8:03 PM
    Worked my way to this section and tried both helm and kubectl with no luck. https://docs.rancherdesktop.io/how-to-guides/setup-NGINX-Ingress-Controller Is there a simple fix for this?
    w
    • 2
    • 61
  • s

    sticky-summer-13450

    06/17/2022, 10:08 AM
    Am I doing something wrong? If v1.4.1 was released 9 days ago, and the installation docs tell me how to install RPMs on OpenSuse, and I'm running Tumbleweed, and Rancher is part of Suse, why isn't v1.4.1 available to install?
    > sudo zypper install rancher-desktop
    Loading repository data...
    Reading installed packages...
    'rancher-desktop' is already installed.
    No update candidate for 'rancher-desktop-1.3.0-lp153.2.3.x86_64'. The highest available version is already installed.
    Resolving package dependencies...
    Nothing to do.
    c
    w
    b
    • 4
    • 29
Powered by Linen
Title
s

sticky-summer-13450

06/17/2022, 10:08 AM
Am I doing something wrong? If v1.4.1 was released 9 days ago, and the installation docs tell me how to install RPMs on OpenSuse, and I'm running Tumbleweed, and Rancher is part of Suse, why isn't v1.4.1 available to install?
> sudo zypper install rancher-desktop
Loading repository data...
Reading installed packages...
'rancher-desktop' is already installed.
No update candidate for 'rancher-desktop-1.3.0-lp153.2.3.x86_64'. The highest available version is already installed.
Resolving package dependencies...
Nothing to do.
c

careful-piano-35019

06/17/2022, 10:29 AM
the rpm for 1.4.1 is there though https://download.opensuse.org/repositories/isv:/Rancher:/stable/rpm/x86_64/
try
sudo zypper update rancher-desktop
s

sticky-summer-13450

06/17/2022, 10:33 AM
> sudo zypper update rancher-desktop
Loading repository data...
Reading installed packages...
No update candidate for 'rancher-desktop-1.3.0-lp153.2.3.x86_64'. The highest available version is already installed.
Resolving package dependencies...
Nothing to do.
👀 1
c

careful-piano-35019

06/17/2022, 10:37 AM
you can certainly force it with
sudo zypper in <https://download.opensuse.org/repositories/isv:/Rancher:/stable/rpm/x86_64/rancher-desktop-1.4.1-lp153.2.2.x86_64.rpm>
not sure about the 'update' strategy regarding rancher-desktop (it might be better to give you the control over when to update rather than getting automatically updated when doing a full
zypper up
(hmmm, I just tried and in my case the update to 1.4.1 was offered by zypper)
oh maybe you need a
zypper refresh
first
s

sticky-summer-13450

06/17/2022, 10:44 AM
Sorry - I should have said that I'd done a
zypper refresh
and a
zypper update
just before, and that pulled in >2000 RPMs.
Oh well - maybe it's just me.
I did
sudo zypper in <the_long_url>
and it's installed for me now.
Thanks for the URL 🙂
👍 1
w

witty-jelly-95845

06/17/2022, 10:48 AM
Do you have the Rancher repo added and enabled?
c

careful-piano-35019

06/17/2022, 10:49 AM
sudo zypper lr --details
s

sticky-summer-13450

06/17/2022, 10:50 AM
I thought about that - so I tried to add it:
> sudo zypper addrepo <https://download.opensuse.org/repositories/isv:/Rancher:/stable/rpm/isv:Rancher:stable.repo>
[sudo] password for root: 
Adding repository 'Rancher stable packages (rpm)' ................................................................................................................[error]
Repository named 'isv_Rancher_stable' already exists. Please use another alias.
w

witty-jelly-95845

06/17/2022, 10:51 AM
From my Leap desktop
> zypper lr 10
Alias          : isv_Rancher_stable
Name           : Rancher stable packages (rpm)
URI            : <https://download.opensuse.org/repositories/isv:/Rancher:/stable/rpm/>
Enabled        : Yes
GPG Check      : (r ) Yes
Priority       : 99 (default priority)
Autorefresh    : Off
Keep Packages  : Off
Type           : rpm-md
GPG Key URI    : <https://download.opensuse.org/repositories/isv:/Rancher:/stable/rpm/repodata/repomd.xml.key>
Path Prefix    :
Parent Service :
Keywords       : ---
Repo Info Path : /etc/zypp/repos.d/isv_Rancher_stable.repo
MD Cache Path  : /var/cache/zypp/raw/isv_Rancher_stable
s

sticky-summer-13450

06/17/2022, 10:51 AM
that was just before I did the
sudo zypper install rancher-desktop
which said
The highest available version is already installed
> sudo zypper lr --details
#  | Alias                            | Name                          | Enabled | GPG Check | Refresh | Priority | Type   | URI                                                                           | Service
---+----------------------------------+-------------------------------+---------+-----------+---------+----------+--------+-------------------------------------------------------------------------------+--------
...
5 | isv_Rancher_stable               | Rancher stable packages (rpm) | Yes     | (r ) Yes  | No      |   99     | rpm-md | <https://download.opensuse.org/repositories/isv:/Rancher:/stable/rpm/>    
...
w

witty-jelly-95845

06/17/2022, 10:54 AM
Looks the same. My desktop picked up 1.4.1-lp153.2.1 and now I see it's offering 1.4.1-lp153.2.2. Maybe it's a Tumbleweed thing - @bored-farmer-36655 has your desktop got latest RD?
c

careful-piano-35019

06/17/2022, 10:55 AM
I just tried on Tumbleweed
b

bored-farmer-36655

06/17/2022, 12:44 PM
@witty-jelly-95845 Doesn't seem to be on many mirrors https://download.opensuse.org/repositories/isv:/Rancher:/stable/rpm/x86_64/rancher-desktop-1.4.1-lp153.2.2.x86_64.rpm.mirrorlist It does, but I just install direct. @careful-piano-35019 on Tumbleweed your using only zypper up?
👍 1
c

careful-piano-35019

06/17/2022, 1:59 PM
Yes, with zypper up
b

bored-farmer-36655

06/17/2022, 2:24 PM
@careful-piano-35019 for Tumbleweed,
zypper dup
only I normally use
zypper -vvv dup
to add verbosity. Hopefully snapshot 20220614 is the last big one for the year.... now with new gcc hardening option -D_FORTIFY_SOURCE=3 enabled.
s

sticky-summer-13450

06/17/2022, 2:31 PM
If it makes any difference, I'm in the UK/GB. From the mirrors list page @bored-farmer-36655 mentioned the
Mirrors which handle this country:
is an empty list.
Sorry - I'm not too familiar with
zypper
and the install process - most of my resent experience is with Ubuntu - but I've forced myself to use Tumbleweed on this desktop to see whether I think I can jump across.
w

witty-jelly-95845

06/17/2022, 2:39 PM
I'm also in the UK, using openSUSE Leap 15.3 and I see and now updating to latest RD 1.4.1 via "sudo zypper up rancher-desktop"
b

bored-farmer-36655

06/17/2022, 2:50 PM
@sticky-summer-13450 Hi, there is also Mirrorcache (just to confuse you even more) https://mirrorcache.opensuse.org/download/repositories/isv:/Rancher:/stable/rpm/x86_64/rancher-desktop-1.4.1-lp153.2.2.x86_64.rpm.mirrorlist https://en.opensuse.org/MirrorCache
@sticky-summer-13450 I'm in the US and use it and works fine for me. For my Leap systems I have a mixture just to see the difference.
c

careful-piano-35019

06/17/2022, 2:59 PM
it might be a mirroring delay
b

bored-farmer-36655

06/17/2022, 3:05 PM
@careful-piano-35019 Very very likely, plus there have been a few issues lately with the mirroring setup....
View count: 37