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
2,119 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
5,054 views
0 votes
1 answer
+2 votes
1 answer
+15 votes
2 answers

Git management technique when there are multiple customers and need multiple customization?

Consider this - In 'extended' Git-Flow, (Git-Multi-Flow, ...READ MORE

answered Mar 27, 2018 in DevOps & Agile by DragonLord999
• 8,450 points
7,753 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
3,622 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