Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't get Vagrant share to work with Wocker #61

Open
pbolger opened this issue Feb 20, 2017 · 6 comments
Open

Can't get Vagrant share to work with Wocker #61

pbolger opened this issue Feb 20, 2017 · 6 comments

Comments

@pbolger
Copy link

pbolger commented Feb 20, 2017

I have an account, it's generating the temporary link fine, but all I get is a 404. Anybody got any idea how to get it to run?

@ixkaito
Copy link
Member

ixkaito commented Feb 21, 2017

Hi @pbolger, thanks for reporting the issue. I haven't tried Vagrant share with Wocker. I'll do it later. Before that, why don't you try ngrok https://ngrok.com/?

@pbolger
Copy link
Author

pbolger commented Feb 22, 2017

Thanks @ixkaito,
ngrok looks interesting, although I'm a bit unclear on whether you have to pay to try it out.

I can't help feeling that getting Vagrant share wouldn't be that hard (I suspect it's just looking at the wrong directory on the local server) but it's a bit lean on the troubleshooting tools so far.

@ailispaw
Copy link
Contributor

ailispaw commented Feb 23, 2017

You can try as below.

  1. Add config.vm.network :forwarded_port, guest: 80, host: 8080 into your Vagrantfile.
  2. vagrant reload
  3. vagrant login
  4. vagrant share --http 8080

Note: You may need wocker start to run a container after vagrant reload.
And also wocker wp plugin install dynamic-hostname --activate for an another domain name but wocker.dev.

@ailispaw
Copy link
Contributor

Vagrant Share seems very slow and has unstable connection...

@ailispaw
Copy link
Contributor

Vagrant v1.9.2 released! | HashiCorp
https://www.hashicorp.com/blog/vagrant-1-9-2-released/

Share via ngrok
Vagrant share now supports creating shares using ngrok as the underlying means of communication.

https://github.com/mitchellh/vagrant/blob/master/website/source/docs/share/ngrok.html.md

@ixkaito
Copy link
Member

ixkaito commented Feb 28, 2017

Great news!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants