deluan / zsh-in-docker

Install Zsh, Oh-My-Zsh and plugins inside a Docker container with one line!

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How do I exec into the container using zsh?

simplenotezy opened this issue · comments

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

@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

Duh - what a brain fart. Anyways, thanks!