ping from a docker container to a PBX sip server which is lying in the same lan as the host machine

0 votes

Can somebody provide some pointers how to ping from a docker container to a PBX sip server which is lying in the same lan as the host machine and vice versa ..actually I moved my application to a docker container..host machine just forward the port but the sip request contains the docker container ip ..do we have any options in docker network which could make the docker container ip accessible from host lan network so that other machines which are in the same lan can ping the docker container..or is there a different approach I should follow?

Feb 1, 2019 in Ansible by Laksha
1,295 views

1 answer to this question.

0 votes

Hey @Laksha, Look at how you're starting the container...you probably need to publish the ports you want to use.
Depending on the image you're using you can do a docker exec -it /bin/bash <container>. (or /bin/ash) to get inside

answered Feb 1, 2019 by Anisha

Related Questions In Ansible

0 votes
1 answer

How do I wget a file from web server using shell in the ansible playbook

Hey Ayaan, you could probably use this ...READ MORE

answered Jan 24, 2019 in Ansible by Anushri
4,152 views
0 votes
1 answer
+2 votes
1 answer
+2 votes
1 answer

Deploy Docker Containers from Docker Cloud

To solve this problem, I followed advice ...READ MORE

answered Sep 3, 2018 in AWS by Priyaj
• 58,020 points
2,706 views
0 votes
1 answer

Is there a way to recover lost Ansible Vault password?

Hey @Sridhar, There is no way to ...READ MORE

answered Jan 29, 2019 in Ansible by Akthia
2,922 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP