Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BUG ? no more bash or sh in the container #3877

Closed
stanthewizzard opened this issue Sep 4, 2024 · 5 comments
Closed

BUG ? no more bash or sh in the container #3877

stanthewizzard opened this issue Sep 4, 2024 · 5 comments
Labels
bug Something isn't working Stale

Comments

@stanthewizzard
Copy link

Describe the bug

unable to bash or sh into the container

Steps to reproduce

docker exec -it memos /bin/bash
or
docker exec -it memos /bin/sh

returns

OCI runtime exec failed: exec failed: unable to start container process: exec: "/bin/sh": stat /bin/sh: no such file or directory: unknown

The version of Memos you're using.

Version: v0.22.5

Screenshots or additional context

No response

@stanthewizzard stanthewizzard added the bug Something isn't working label Sep 4, 2024
@RoccoSmit
Copy link
Contributor

Could have something to do with this commit
0156c7e

@stanthewizzard
Copy link
Author

this is quite an issue.
Docker Helathcheck is not available and without curl or wget no more healthcheck

@urzz
Copy link

urzz commented Sep 4, 2024

Could have something to do with this commit 0156c7e

@RoccoSmit

Distroless images are minimal and lack shell access. -> GoogleContainerTools/distroless

So gcr.io/distroless/static-debian12:latest can't use shell environment command to do healthcheck.

Can we consider adding a healthcheck command? So that we can avoid use shell for healthcheck.

@stanthewizzard
Copy link
Author

i'll roll back to the previous version (issue again with api and tiers apps. API are a mess in this project btw)

@boojack
Copy link
Member

boojack commented Sep 22, 2024

Updated with #3942

@boojack boojack closed this as completed Sep 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Stale
Projects
None yet
Development

No branches or pull requests

4 participants