Jump to content

Docker Container Networking


Recommended Posts

Hi! I am trying to setup some docker containers in Unraid. One of my containers (bookstack) depends on mariadb to store its information. Every time I launch the containers the database seems to get a different IP on the docker network. Is there a way to use the name of the container to resolve the IP. I know this is possible with docker-compose but I want to know if there is a way to do it in unraid.  For example entering db:3006 instead of 192.168.x.x:3306

Thank You!

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...