7

Okay I give up. I just don't get this docker networking stuff. I need someone to save me these sleepless nights and get on a call with me. A docker expert please. I am dying and my make believe devops engineer persona is crashing on me.

Comments
  • 2
    @theKarlisK might want to help 😜
  • 1
    @theKarlisK what do you say ehh?? Have some little time to spare?? Please??? Zoom?? 😁
  • 2
    @theKarlisK if you do and can and @witchDev is okay with it please record the call and youtube it as learning resource for others who might be struggling with similar issues
  • 0
    @theKarlisK what of Mac? So I am trying to configure a container to access services hosted on the cloud from within the container(mongo atlas). Mac doesn't have iptables rather, some other shit that I don't understand. I don't have a discord but whatever platform you prefer, I can setup and have a chat when you get to your pc. I am just hell bent on understanding what is going on. I have been able to connect to a bridge network which apparently should allow my container to be seen with the host ip from the outside but for some reason, it is not working out right. Also, this is my first experience with docker so it's really kicking my ass. Any time you can spare, I will take it and appreciate it man.
  • 1
    @jester5537 will definitely be writing a post once we crack this. I am sure it would be useful for some other novice experiencing the same issue.
  • 0
    @theKarlisK I haven't tried disabling my firewall but going to try that out now.
  • 0
    @witchDev you got discord?

    Y'all can set up a docker debug helper discord server and the rest of us can use it too. @theKarlisK
  • 0
    @theKarlisK Okay so context: I am running a scala-play framework app which is connected to a cloud database service (mongo atlas). Reactivemongo is a nice play framework-mongo library that just makes life easier for scala developers. Ideally to connect to any mongo database, all i have to do is configure my mongo uri in my applications conf file. This all works. So moving to containerization, attached is what my dockerfile looks like. Now once i build my image and start the app, it refuses to connect to my mongo cloud service and hits me with No Primary Node error which basically means, my app cannot reach my database. I understand my app from within the container is trying to reach an external service....this is where i am stuck. All my research points dockers networking and i need to be able to connect to services outside my container.
  • 0
    @theKarlisK also my docker-compose here
  • 0
    @NoMad I don't have discord but i can set it up @theKarlisK LOL would that be better than the crystal ball??
  • 2
    @theKarlisK scary realization: turns out my firewall has been off for some time now. (Genuinely terrified coz i don't know how long ago i turned it off..!)
  • 2
    @theKarlisK invite me to the server when you make one 😜

    @witchDev yeah discord is very much easier than zoom.
  • 0
    @witchDev btw, when you make an account, write here the username plus the digits after the # for others to add you.
  • 1
    @NoMad @theKarlisK i setup discord developerAndWitch#9064 We can continue over there.
  • 2
    @witchDev now we have to wait until @theKarlisK gets home... *plays elevator music*
Add Comment