Tag: vagrant windows

无法连接到在Vagrant上运行的HBase(Zookeeper)

我有一个简单的stream浪汉机器,在HBase上有一个独立的实例。 当我启动hbase时,我可以访问hbase信息URL http://192.168.99.101:16010/master-status 。 但是当我尝试通过java连接时,我无法连接到Zookeeper。 stream浪文件 Vagrant.configure("2") do |config| config.vm.box = "hbase-phoenix" # A simple HBase phoenix box config.vm.box_check_update = false config.vbguest.auto_update = false config.vm.define "hbase_pnx" do |hbase_pnx| hbase_pnx.vm.hostname = "hbasepnx" hbase_pnx.vm.network "private_network", ip: "192.168.99.101" hbase_pnx.vm.network "forwarded_port", guest: 2181, host: 2181 hbase_pnx.vm.network "forwarded_port", guest: 16010, host: 16010 end end VM上的主机文件看起来像 vagrant@hbasepnx:~$ cat /etc/hosts 192.168.99.101 hbasepmx […]

stream浪docker提供商缓慢build立

我正尝试在Windows机器上使用Docker提供程序的Vagrant。 我有这样的Vagrantfile: ENV['VAGRANT_DEFAULT_PROVIDER'] = 'docker' Vagrant.require_version ">= 1.6.0" VAGRANTFILE_API_VERSION = "2" Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| config.vm.define "app" do |app| app.vm.provider "docker" do |d| d.name = "app" d.build_dir = "." d.vagrant_machine = "dockerhost" d.vagrant_vagrantfile = "./DockerhostVagrantfile" end end end Docker主机定义如下: Vagrant.configure("2") do |config| config.vm.synced_folder ".", "/vagrant", type: "smb" config.vm.provision "docker" config.vm.define "dockerhost" config.vm.box = "ubuntu/trusty64" config.vm.network "forwarded_port", […]

Vagrant – Windows上的Docker提供程序 – Rsync失败

我正在尝试使用Vagrant + Docker (作为一个provdier)为我们的下一个项目设置一个Dev环境。 我正在使用cygwin (使用ssh和rsync软件包)在Windows 8.1操作系统上工作。 Vagrantfile: Vagrant.configure("2") do |config| config.vm.provider "docker" do |d| d.build_dir = "." end end Dockerfile: FROM ubuntu RUN apt-get install -y software-properties-common python RUN add-apt-repository ppa:chris-lea/node.js RUN echo "deb http://us.archive.ubuntu.com/ubuntu/ precise universe" >> /etc/apt/sources.list RUN apt-get update RUN apt-get install -y nodejs #RUN apt-get install -y nodejs=0.6.12~dfsg1-1ubuntu1 RUN mkdir […]