I made a test and it seems that work well the following.

link: "author:localhost"

I don't like to add this configuration on each container, I would like to 
expose alway the service in the localhost. Any idea on how to do it?

El jueves, 1 de diciembre de 2016, 18:38:02 (UTC-6), Eddy Hernandez 
escribió:
>
> Hi everyone
> Maybe you can help me to get this questions
>
>
> I'm using docker as a provider, I have two containers: *container1* and 
> *service1* I need to reach the *service1:4505* from the *container1*, 
> the docs says that is posible using link e.g. *"service1:service1*" but I 
> would like to reach the service using *localhost*, It's possible?
>
> The main idea is something like this:* link "service1:localhost"* but 
> this is not possible
>
> https://www.vagrantup.com/docs/docker/configuration.html
>
>

-- 
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/4f10979c-dd3c-4e8d-9c10-f56cec74c758%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to