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.

Error response from daemon: Address already in use

Featured Replies

Hi,

I have numerous vlans all configured like this:
10.0.50.x/28 where x is the second last address in range. The last address in range is gateway.

So my first vlan is 50 and is configured like this:
IP: 10.0.50.13/28
GW: 10.0.50.14

I'm trying to install the app Nextcloud with the address 10.0.50.1, but get: "Error response from daemon: Address already in use".
I can however install Nextcloud with the address 10.0.50.2.
For whatever reason I get the same error with vlan 51 when using address 10.0.50.17, but not on vlan 52 when using 10.0.50.33.

I've been searching through the network of Unraid and Docker and can't seem to find any trace of the ip address 10.0.50.1.
Does anyone have an idea of what is causing this behavior and, not less important, how to fix it?

Regards, Anders

 

The full docker command with error:

Command:
root@localhost:# /usr/local/emhttp/plugins/dynamix.docker.manager/scripts/docker run -d --name='nextcloud' --net='br0.50' --ip='10.0.50.1' -e TZ="Europe/Paris" -e HOST_OS="Unraid" -e HOST_HOSTNAME="ADsNAS" -e HOST_CONTAINERNAME="nextcloud" -e 'TCP_PORT_443'='443' -e 'PUID'='99' -e 'PGID'='100' -e 'UMASK'='022' -l net.unraid.docker.managed=dockerman -l net.unraid.docker.webui='https://[IP]:[PORT:443]' -l net.unraid.docker.icon='https://raw.githubusercontent.com/linuxserver/docker-templates/master/linuxserver.io/img/nextcloud-logo.png' -v '/mnt/user/nextcloud/':'/data':'rw' -v '/mnt/user/appdata/nextcloud':'/config':'rw' 'lscr.io/linuxserver/nextcloud'

41141042fd5b3386f6b3c298040925ef7e971fbfd1bd4ca7c41bbda179e1b50b
docker: Error response from daemon: Address already in use.

The command failed.

 

adsnas-diagnostics-20220907-0927.zip

Solved by bonienl

  • Author

I did in fact reboot it. It didn't solve it, which in a way is a good thing. Rebooting isn't really a cure, it's a treatment...

  • Solution

When no explicit gateway address is given for the subnet, then docker will assign the first address as gateway address. This is the conflict you see.

 

Under docker settings you need to set the specific subnet assignment for each VLAN, see example below

 

image.thumb.png.89255926626edb193cadcc5539aad0ce.png

  • Author

Alright, now it's working. Thank you :)

 

 

Edited by Smakodak
Misread the post that I was answering

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.