https://rancher.com/ logo
#rancher-desktop
Title
# rancher-desktop
p

purple-fireman-44165

06/24/2022, 1:17 PM
Hi i have installed rancher-desktop on my mac but not able to access nerdctl do i need to separately install this utility ? Please advise
w

wide-mechanic-33041

06/24/2022, 1:20 PM
is your /User/<name>/.rd/bin in your PATH?
p

purple-fireman-44165

06/24/2022, 1:25 PM
aah.. gotcha
it is working now, thank you @wide-mechanic-33041
👍 1
hi @wide-mechanic-33041 Now, i have got issue with the nerdctl authentication
docker works fine though for the same task
@Here
I am able to use Podman for this task now, still would like to understand about the issue i am facing with nerdctl(containerd)
m

melodic-hamburger-23329

06/27/2022, 12:25 AM
@purple-fireman-44165 Are you behind VPN?
Not sure if your issue is the same, but on mac, I use this script for fixing the occasional DNS issue with lima (fish shell):
Copy code
fish_add_path "/Applications/Rancher <http://Desktop.app/Contents/Resources/resources/darwin/lima/bin|Desktop.app/Contents/Resources/resources/darwin/lima/bin>"

set -Ux LIMA_HOME "$HOME/Library/Application Support/rancher-desktop/lima"

function dnsfix
    echo -e "$(cat /etc/resolv.conf)\n$(lima cat /etc/resolv.conf)" | lima sudo sh -c "tee $1 > /etc/resolv.conf"
end
w

wide-mechanic-33041

06/27/2022, 11:37 AM
So guessing it is a bug with the credential helper code. That was new on 1.4.1 and nerdctl acts a bit differently than docker. I don’t know the logging locations of that VM->Host interop, but have you poked around your Logs to see if anything jumps out?
8 Views