Table of Content

babun features

  • the core of Babun is a pre-configured Cygwin
  • package manager called pact, similar to ‘apt-get’ or ‘yum’
  • bash/zsh, build in git/gcc/python/perl
  • mintty default terminal emulator

why run babun with portabledevops

  • to get benefit from portabledevops: portable devops tool set on windows
  • portable babun everywhere

install to portable folder

cmd> install.bat -t "C:\oldhorse\portableapps"

will install as .babun under C:\oldhorse\portableapps, rename to babun

add task in cmder

..\babun\cygwin\bin\mintty /bin/env CHERE_INVOKING=1 /bin/zsh.exe

run babun

you can start in mintty by clicking babub.bat
or start it from cmder

where home located

{ ~ }  » cygpath -ml /home/username                                                         
C:/oldhorse/portableapps/babun/cygwin/home/username

docker toolbox

{ ~ }  » dm ls                                                                                                                                                                           ~
NAME   ACTIVE   DRIVER       STATE     URL   SWARM   DOCKER    ERRORS
moba   -        virtualbox   Stopped                 Unknown

{ ~ }  » dm start moba                                                                                                                                                                   ~
Starting "moba"...
(moba) Check network to re-create if needed...
(moba) Waiting for an IP...
Machine "moba" was started.
Waiting for SSH to be available...
Detecting the provisioner...
Started machines may have new IP addresses. You may need to re-run the docker-machine env command.

{ ~ }  » denv moba  
                                                                                                                                                                     ~
{ ~ }  » docker ps                                                                                                                                                                       ~
CONTAINER ID        IMAGE               COMMAND             CREATED             STATUS              PORTS               NAMES