k8s icon indicating copy to clipboard operation
k8s copied to clipboard

nats > v2.2.1 result in "nats-server": executable file not found in $PATH:

Open muka opened this issue 4 years ago • 4 comments

Using anything but nats:2.2.1-alpine3.13 fails consitently with this error (eg. nats:2.2.2-scratch or nats:2.2 or ...). Chart is latest avail 0.8.x.

Error: failed to start container "nats": Error response from daemon: OCI runtime create failed: container_linux.go:367: starting container process caused: exec: "nats-server": executable file not found in $PATH: unknown

muka avatar May 21 '21 18:05 muka

Thanks, we made the alpine the new default since it was complex to add new TLS certs to the scratch image, but would be great to add support to the scratch image again.

wallyqs avatar May 21 '21 18:05 wallyqs

Ok clear, if it is not already it could be mentioned in the docs. Do you have a place in docs where this could be annotated?

Thank you

muka avatar May 22 '21 03:05 muka

I get that error with nats:2.7.2 using the helm script... what is the fix?

dash042 avatar Feb 22 '22 15:02 dash042

@dash042 you would have to specify nats:2.7.2-alpine instead at the moment

wallyqs avatar Feb 22 '22 23:02 wallyqs