hello

i did long time a ago.. just made it a bit more simple..


git clone https://github.com/kikitux/dockerhost-vagrant
cd dockerhost-vagrant/sampleapp
vagrant up

then open browse to http://localhost:8080

that should show phpinfo from a container

Alvaro

On Fri, Jan 20, 2017 at 5:28 PM, <[email protected]> wrote:

>
> Hi ...
>
> Did anyone ever resolve this?
>
> I'm seeing a very similar hang with a similar configuration,
> although it doesn't seem to timeout (at least within a few minutes).
> Everything actually seems to have been set up OK, and if I kill
> the process, the VM looks fine.
>
> Many Thanks
>
>   Paul
>
> Bringing machine 'default' up with 'virtualbox' provider...
> ==> default: Clearing any previously set forwarded ports...
> ==> default: Clearing any previously set network interfaces...
> ==> default: Preparing network interfaces based on configuration...
>     default: Adapter 1: nat
> ==> default: Forwarding ports...
>     default: 22 (guest) => 2222 (host) (adapter 1)
> ==> default: Running 'pre-boot' VM customizations...
> ==> default: Booting VM...
> ==> default: Waiting for machine to boot. This may take a few minutes...
>     default: SSH address: 127.0.0.1:2222
>     default: SSH username: vagrant
>     default: SSH auth method: private key
> ==> default: Machine booted and ready!
> ==> default: Checking for guest additions in VM...
> ==> default: Mounting shared folders...
>     default: /vagrant => /Users/paul/Work/Research/L3/
> Git/Support/Vagrant/Windows
>
>
>
>
>
> On Thursday, 17 March 2016 07:22:23 UTC, Bryan Berry wrote:
>>
>> Folks,
>>
>> I have an odd issue when executing `vagrant up` for a windows server 2012
>> guest using SSH as the communicator. The guest UI boots up fine but
>> `vagrant up` hangs and ultimately fails w/ the error:
>>
>> hitman@localhost:~/tmp/cycle-vbox/tmp$ vagrant up
>> Bringing machine 'default' up with 'virtualbox' provider...
>> ==> default: Clearing any previously set forwarded ports..
>> ==> default: Clearing any previously set network interfaces...
>> ==> default: Preparing network interfaces based on configuration...
>>     default: Adapter 1: nat
>>     default: Adapter 2: hostonly
>> ==> default: Forwarding ports...
>>     default: 22 (guest) => 2222 (host) (adapter 1)
>> ==> default: Booting VM...
>> ==> default: Waiting for machine to boot. This may take a few minutes...
>>     default: SSH address: 127.0.0.1:2222
>>     default: SSH username: vagrant
>>     default: SSH auth method: password
>> INFO interface: Machine: error-exit ["Vagrant::Errors::VMBootTimeout"]
>> Timed out while waiting for the machine to boot. This means that
>> Vagrant was unable to communicate with the guest machine within
>> the configured ("config.vm.boot_timeout" value) time period.
>>
>> After this fails, i can successfully execute `vagrant ssh` to get a login
>> shell into the same machine. I can also ssh into it (using port 2222) using
>> the ssh command directly. However,
>> vagrant halt and vagrant reload do nothing.
>>
>> `vagrant up` works when I change the communicator to winrm
>>
>> here are the details of my setup
>>
>>    - host: mac os x 10.9.5
>>    - virtualbox 5.0.16
>>    - vagrant 1.8.1
>>    - guest os windows server 2012 R2 eval
>>    - bitvise SSH server in guest
>>
>> The bitvise SSH server shows my host connected to the guest while
>> `vagrant up` hangs
>>
>>
>> Here are the important bits in my Vagrantfile
>>
>>
>> Vagrant.configure(2) do |config|
>>   config.vm.guest = :windows
>>   config.vm.box = "cycle-win2k12"
>> #  config.vm.communicator = "ssh"
>>
>>   config.vm.communicator = "winrm"
>>   config.ssh.insert_key = false
>>   config.ssh.username = 'vagrant'
>>   config.ssh.password = 'vagrant'
>>
>>   config.vm.provision "shell", inline: 'echo hello world'
>>
>> end
>>
>>
>> I realize that this is likely a virtualbox error. For that reason, I have
>> tried reinstalling virtualbox and rebooted, to no success. I also see no
>> errors in the VBox.log for my machine
>>
>>
>> Any suggestions folks have would be most appreciated.
>>
>>
>> --
> This mailing list is governed under the HashiCorp Community Guidelines -
> https://www.hashicorp.com/community-guidelines.html. Behavior in
> violation of those guidelines may result in your removal from this mailing
> list.
>
> GitHub Issues: https://github.com/mitchellh/vagrant/issues
> IRC: #vagrant on Freenode
> ---
> You received this message because you are subscribed to the Google Groups
> "Vagrant" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/vagrant-up/d8a231dd-f431-4783-abfe-64cf199b3825%40googlegroups.com
> <https://groups.google.com/d/msgid/vagrant-up/d8a231dd-f431-4783-abfe-64cf199b3825%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Alvaro

-- 
This mailing list is governed under the HashiCorp Community Guidelines - 
https://www.hashicorp.com/community-guidelines.html. Behavior in violation of 
those guidelines may result in your removal from this mailing list.

GitHub Issues: https://github.com/mitchellh/vagrant/issues
IRC: #vagrant on Freenode
--- 
You received this message because you are subscribed to the Google Groups 
"Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vagrant-up/CAHqq0ewea5kCfS1iw6nHV1bU9SfC7GZVF4uEpCJ5A4_EX7YLLA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to