Dinghy Docker Machine 封装 项目简介
Dinghy 致力于 OS X 上 Docker,包含电池在内本地开发体验。基于 Docker Machine。主要特性:使用 NFS 而不是 Virtualbox/vmware 文件分享。中等大小的 Rails 应用启动只要 5 秒钟,vmware 文件分享需要 30 秒,virtualbox 文件分享需要 90 秒。文件系统事件在安装卷上运行。在你的主机上编辑文件,可以立即在 guard/webpack/etc 看到修改。易访问,使用内置 DNS 和 HTTP 代理访问运行的容器最终 docker-machine 也许有很丰富的插件系统,dinghy 可以作为 Docker-machine 的一个插件。dinghy 现在来说是 Docker Machine 的封装,可以创建 VM,使用 launchd 来开启各种服务,比如 NFS 和 DNS。CLI 使用$ dinghy helpCommands:
dinghy create # create the docker-machine VM
dinghy destroy # stop and delete all traces of the VM
dinghy halt # stop the VM and services
dinghy help [COMMAND] # Describe available commands or one specific command
dinghy ip # get the VM's IP address
dinghy restart # restart the VM and services
dinghy shellinit # returns env variables to set, should be run like $(dinghy shellinit)
dinghy ssh [args...] # ssh to the VM
dinghy ssh-config # print ssh configuration for the VM
dinghy status # get VM and services status
dinghy up # start the Docker VM and services
dinghy upgrade # upgrade the boot2docker VM to the newest available
dinghy version # display dinghy version
dinghy create # create the docker-machine VM
dinghy destroy # stop and delete all traces of the VM
dinghy halt # stop the VM and services
dinghy help [COMMAND] # Describe available commands or one specific command
dinghy ip # get the VM's IP address
dinghy restart # restart the VM and services
dinghy shellinit # returns env variables to set, should be run like $(dinghy shellinit)
dinghy ssh [args...] # ssh to the VM
dinghy ssh-config # print ssh configuration for the VM
dinghy status # get VM and services status
dinghy up # start the Docker VM and services
dinghy upgrade # upgrade the boot2docker VM to the newest available
dinghy version # display dinghy version