微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

Dinghy Docker Machine 封装

程序名称:Dinghy

授权协议: MIT

操作系统: OS X

开发语言: Ruby

Dinghy 介绍

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 官网

https://github.com/codekitchen/dinghy

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 [email protected] 举报,一经查实,本站将立刻删除。

相关推荐