ssh console --> no such file or directory

I finally was able to get the fly agent to start and now I’m trying to do fly ssh console -a <name of app>. This is failing with:

Connecting to <name>... complete
fork/exec /bin/sh: no such file or directory

Any idea why? I expect to be able to get into this container.

Looks like you need to add a shell to the container

1 Like

I get the same error using gcr.io/distroless/static.

 2022-04-18T11:39:37.338 app[] reg [info] unexpected error executing command: fork/exec /bin/sh: no such file or directory 

Edit, I should probably note that this is expected (but there exists a workaround).