dockerzshboot2dockeriterm2

Boot2Docker using standard terminal with bash shell and NOT zsh shell with iterm2?


I just installed Boot2Docker on my OSX and it appears to be working; opening it by clicking on the icon loads everything in the bash shell.

I have iterm2 set as my default and inside iterm2 I use zsh.

Is there a work around on this?


Solution

  • To use boot2docker, just open your regular terminal and do:

    $ boot2docker up
    $ $(boot2docker shellinit)
    

    You should then be able to run regular Docker commands:

    $ docker run -it supertest2014/nyan
    ...