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

How do I exec into the container using zsh? #15

Closed
simplenotezy opened this issue Apr 28, 2022 · 2 comments
Closed

How do I exec into the container using zsh? #15

simplenotezy opened this issue Apr 28, 2022 · 2 comments

Comments

@simplenotezy
Copy link

I've installed the package, but when trying to exec into it I get:

OCI runtime exec failed: exec failed: container_linux.go:380: starting container process caused: exec: "zsh": executable file not found in $PATH: unknown

Using:

docker exec -it 6ea4953e2df4 sh
@LanzaTyler
Copy link

@simplenotezy You just want to replace sh with zsh.
In your case:
docker exec -it 6ea4953e2df4 zsh

If using docker-compose:
docker-compose exec app zsh

@simplenotezy
Copy link
Author

Duh - what a brain fart. Anyways, thanks!

@deluan deluan closed this as completed Sep 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants