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.

docker ip地址的DHCP问题

Featured Replies

docker服务有自己的DHCP服务器吗?

为什么我的docker服务使用 br0 网络,不填写指定地址的情况下,并不从路由器的DHCP服务获取ip,而是unraid 下发了一个ip? 

我在路由器配置的静态网络地址完全不能起作用。

docker本身有自己的dhcp,但如果你跟路由同网段就会有问题,如果要跟路由同网段,要在路由dhcp和docker网路都做设置,比如路由ip范围192.168.0.0/24,dhcp ip范围192.168.0.0/25;docker ip范围192.168.0.0/24,dhcp ip范围192.168.0.128/25,这样就不会有冲突,我有个帖子,分享的就是我的网络设置,需要的话,可以看看

  • 2 weeks later...
  • Author
On 6/30/2023 at 12:36 PM, phui.chen said:

docker本身有自己的dhcp,但如果你跟路由同网段就会有问题,如果要跟路由同网段,要在路由dhcp和docker网路都做设置,比如路由ip范围192.168.0.0/24,dhcp ip范围192.168.0.0/25;docker ip范围192.168.0.0/24,dhcp ip范围192.168.0.128/25,这样就不会有冲突,我有个帖子,分享的就是我的网络设置,需要的话,可以看看

谢谢啊,因为我的主路由是openwrt,如果不能从主路由获取IP地址,路由器上就无法显示主机名称,我想修复这个问题,只能想办法关闭docker自己的dhcp服务。但是目前还没有找到办法,是不是docker的网络设置不支持关闭dhcp?

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.