creamy-ambulance-73392
05/29/2022, 10:38 PMpermission denied
error.
After poking around, I have noticed that Go binaries built within the container do not have the executable flag. If I shell into the same container image, with the same runtime config args, build and chmod the binary it runs no problem. I can also pre-compile the test binaries on the host and then run the test suites within the container w/o issue.
I tried compiling the binaries in the container, and they all are missing the executable flag. They run fine after I chmod them.
Additional sanity checks I have made are as follows:
• I updated the base image of the builder container to pick up a newer go version. I was initially running go1.18 and upgraded go1.18.2
• I tried different base images based on libc and musldelightful-cricket-62350
05/30/2022, 11:39 AMfaint-toothbrush-67719
05/30/2022, 12:57 PMlemon-sandwich-34597
05/30/2022, 4:14 PMtall-kite-83186
05/31/2022, 12:07 PMC:\Users\casimir.bonnet\AppData\Local\rancher-desktop\resolv.start
gifted-branch-26934
05/31/2022, 2:36 PMworried-king-20319
05/31/2022, 5:13 PMbroad-crayon-52589
06/01/2022, 3:18 AMfancy-secretary-69311
06/01/2022, 5:28 AMtall-kite-83186
06/01/2022, 7:26 AMstarting container process caused: exec: "": executable file not found in $PATH: unknown
That doesn't sound pretty obvious to me... This is happening for images generated with docker.
When running alpine image (from hub.docker) it does work.
Do you have any advice?tall-kite-83186
06/01/2022, 12:09 PMbrave-policeman-40622
06/01/2022, 4:35 PM~ nerdctl -v
nerdctl version 0.19.0
➜ ~ kubectl config current-context
I0601 09:02:51.539733 35360 versioner.go:58] invalid configuration: no configuration has been provided
error: current-context is not set
quick-keyboard-83126
06/01/2022, 5:11 PMno Auth Provider found for name "gcp"
powerful-belgium-28276
06/01/2022, 7:59 PMnpm ci
throws an error about node-gyp as it performs a rebuild, which did not happen on v1.2.1 - any guidance here?
The linux deps mention needing to install node-gyp https://github.com/rancher-sandbox/rancher-desktop/tree/main#linux, but the build I am doing is on windows https://github.com/rancher-sandbox/rancher-desktop/tree/main#linux
Some logs for reference
npm ERR! code 1
npm ERR! path C:\Users\t629230\UBS\Dev\GCTO\Rancher Desktop Suite\rancher-desktop\node_modules\ffi-napi
npm ERR! command failed
npm ERR! command C:\Windows\system32\cmd.exe /d /s /c node-gyp-build
npm ERR! gyp info it worked if it ends with ok
npm ERR! gyp info using node-gyp@9.0.0
npm ERR! gyp info using node@16.14.0 | win32 | x64
npm ERR! gyp info find Python using Python version 3.7.4 found at "C:\Program Files\choco\miniconda\4.7.12.2109080818\python.exe"
npm ERR! gyp WARN install got an error, rolling back install
npm ERR! gyp ERR! configure error
npm ERR! gyp ERR! stack Error: ENOENT: no such file or directory, stat 'C:\Users\t629230\UBS\Dev\GCTO\Rancher Desktop Suite\rancher-desktop\node_modules\ffi-napi\true'
npm ERR! gyp ERR! System Windows_NT 10.0.19042
npm ERR! gyp ERR! command "C:\\UBS\\Dev\\node-v16.14.0\\node.exe" "C:\\UBS\\Dev\\node-v16.14.0\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild"
npm ERR! gyp ERR! cwd C:\Users\t629230\UBS\Dev\GCTO\Rancher Desktop Suite\rancher-desktop\node_modules\ffi-napi
npm ERR! gyp ERR! node -v v16.14.0
npm ERR! gyp ERR! node-gyp -v v9.0.0
npm ERR! gyp ERR! not ok
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\t629230\AppData\Local\npm-cache\_logs\2022-05-31T21_00_08_904Z-debug-0.log
quick-keyboard-83126
06/01/2022, 9:08 PMrunc
/ containerd
on the radar for rancher-desktop?ripe-cricket-30930
06/01/2022, 9:22 PMwhite-breakfast-73868
06/01/2022, 9:55 PM/boot/<uname -a>
but the VM started by rancher-desktop does not have anything at the specified location.little-microphone-41463
06/01/2022, 10:38 PMfast-stone-77387
06/02/2022, 5:26 AMglamorous-horse-20943
06/02/2022, 12:47 PMBuild Failed: kubernetes apply: error mapping <http://traefik.containo.us/IngressRoute|traefik.containo.us/IngressRoute>: no matches for kind "IngressRoute" in version "<http://traefik.containo.us/v1alpha1|traefik.containo.us/v1alpha1>"
Kubernetes Version: v1.23.6
Rancher desktop version: 1.3.0
Any suggestions what might’ve went wrong and what can we try to fix this issue?famous-evening-38562
06/02/2022, 1:30 PM.env
and referenced in the .docker-compose
but I just get FATA[0000] unsupported port number: ""
when running nerdctl compose up -d
and nothing from nerdctl compose logs
. So how do I enable that sweet, sweet verbose logging?few-journalist-41375
06/02/2022, 3:07 PMFetchError: request to <https://update.k3s.io/v1-release/channels> failed, reason: getaddrinfo EAI_AGAIN <http://update.k3s.io|update.k3s.io>
Is it possible to configure an authenticated proxy in Rancher desktop?
Thanks a lotmysterious-controller-97665
06/02/2022, 6:24 PMripe-cricket-30930
06/03/2022, 6:35 AMkubectl describe svc ddb
Name: ddb
Namespace: default
Labels: <none>
Annotations: <none>
Selector: app=local-ddb
Type: ClusterIP
IP Family Policy: SingleStack
IP Families: IPv4
IP: 10.43.215.24
IPs: 10.43.215.24
Port: <unset> 8000/TCP
TargetPort: ddb-http-port/TCP
Endpoints: 10.42.0.91:8000
Session Affinity: None
Events: <none>
Port seems indeed open on my Mac
lsof | grep 56107
Rancher 50831 victorbarbu 84u IPv4 0x8f04a06a4fb87541 0t0 TCP localhost:56107 (LISTEN)
Doing curl <http://localhost:56107>
just hangs, however running:
$ kubectl run bb -i --tty --image alpine
# curl <http://ddb:8000>
{"__type":"com.amazonaws.dynamodb.v20120810#MissingAuthenticationToken","Message":"Request must contain either a valid (registered) AWS access key ID or X.509 certificate."}
Works as expected. Anyone faced similar issue before?few-journalist-41375
06/03/2022, 10:33 AMfast-stone-77387
06/03/2022, 8:03 PMthousands-mouse-90352
06/06/2022, 2:19 AMkubectl get node
. However, when running nerdctl image ls
I’m not seeing any containers running. Does the virtual machine not run inside a container?
$ kubectl get node
NAME STATUS ROLES AGE VERSION
lima-rancher-desktop Ready control-plane,master 23m v1.23.6+k3s1
polite-engineer-55788
06/06/2022, 3:42 AMpolite-engineer-55788
06/07/2022, 7:17 AMcontainerd.sock
file on the macOS host ?melodic-hamburger-23329
06/08/2022, 3:58 AMnerdctl build
in containerd mode, where and how does the image end up and what components process the command (e.g., how do nerdctl, containerd, and buildkit relate in such scenario, are there some other relevant components, etc.)?
I assume that in Docker mode, the logic is handled by Docker daemon, socket, and registry, but that in containerd mode these are not available (correct me if I’m wrong). Btw, is the same buildkitd accessed in both Docker mode (when using buildx/buildkit) and containerd mode?