Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Does anyone have any idea how to get the Docker Quickstart Terminal app to use iterm2/zsh instead of Terminal/bsh?


If you look at the contents of the .app, you can edit main.scpt in AppleScript Editor, but it's really just doing two things, creating the VM if necessary:

docker-machine create -d virtualbox --virtualbox-memory 2048 default

and populating environment variables for docker:

eval $(docker-machine env default)

Passing --shell zsh to docker-machine env doesn't seem to change its output. Does zsh understand commands like the following?

export DOCKER_MACHINE_NAME="default"


Yep, `docker-machine env` should work fine in zsh (I am a daily zsh and docker-machine user).


I didn't use it, and ended up following the instructions here: https://docs.docker.com/installation/mac/#from-your-shell




Consider applying for YC's Winter 2027 batch! Applications are open till November 2.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: