Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Resolve container names to assigned IP addresses

Featured Replies

I have docker containers on the bridged network. Each container gets an IP address from 172.17.0.2 and up, according to the way the containers are ordered.

I would like containers to resolve a container name to the assigned IP address. Is this possible? It should be unaffected when I reorder the boot order of containers. This way I don't need to exposes container services (port mapping) which are only used by other containers.

  • Author

Okay, this is actually pretty simple to achieve. First create a user-defined network in Docker:

# docker network create my_network

Then configure the Network Type for all containers which need direct access to each other to Custom: my_network. Remove port mappings which are only needed for internal traffic. Container names will resolve to the (internal) IP address.

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...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.