Dighy致力于OSX上Docker,包含电池在内本地开发体验。基于DockerMachie。
主要特性:
使用NFS而不是Virtualbox/vmware文件分享。中等大小的Rails应用启动只要5秒钟,vmware文件分享需要30秒,virtualbox文件分享需要90秒。
文件系统事件在安装卷上运行。在你的主机上编辑文件,可以立即在guard/webpack/etc看到修改。
易访问,使用内置DNS和HTTP代理访问运行的容器
最终docker-machie也许有很丰富的插件系统,dighy可以作为Docker-machie的一个插件。dighy现在来说是DockerMachie的封装,可以创建VM,使用lauchd来开启各种服务,比如NFS和DNS。
CLI使用
$ dighy helpCommads: dighy create # create the docker-machie VM dighy destroy # stop ad delete all traces of the VM dighy halt # stop the VM ad services dighy help [COMMAND] # Describe available commads or oe specific commad dighy ip # get the VM's IP address dighy restart # restart the VM ad services dighy shelliit # returs ev variables to set, should be ru like $(dighy shelliit) dighy ssh [args...] # ssh to the VM dighy ssh-cofig # prit ssh cofiguratio for the VM dighy status # get VM ad services status dighy up # start the Docker VM ad services dighy upgrade # upgrade the boot2docker VM to the ewest available dighy versio # display dighy versio
评论