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.

Custom Docker Networks 6.8.2

Featured Replies

I realized after upgrading to 6.8 that my LetsEncrypt reverse proxy had stopped working and that a bunch of my dockers started disappearing. I found that this was due to custom docker networks unable to be specified in the extra params with --network. After some research I found that I can make a docker network container to appear in the drop down. I ran 

docker network create container:letsencrypt

which made the network and got rid of the "network does not exist" error when I tried to start a docker using the --network flag. Now I have another issue when attempting to use the network.. The new error is:

/usr/bin/docker: Error response from daemon: conflicting options: port publishing and the container type network mode.

I was unable to find anything about this issue. It looks like it might be asking me to remove the port mappings from the dockers but I don't think that would let me use the docker.. Any ideas? 

  • Author

I removed the ports from a docker container to test and it let me start the docker with the network selected but the functionality of the docker is no longer there since I cannot get into it without a port. Is anyone using custom docker networks on 6.8 successfully? 

  • Author
root@localhost:# /usr/local/emhttp/plugins/dynamix.docker.manager/scripts/docker run -d --name='apacheguacamole' --net='container:letsencrypt' --privileged=true -e TZ="America/Los_Angeles" -e HOST_OS="Unraid" -e 'OPT_MYSQL'='Y' -e 'OPT_MYSQL_EXTENSION'='N' -e 'OPT_SQLSERVER'='N' -e 'OPT_LDAP'='N' -e 'OPT_DUO'='N' -e 'OPT_CAS'='N' -e 'OPT_TOTP'='N' -e 'OPT_QUICKCONNECT'='N' -p '9876:8080/tcp' -v '/mnt/user/appdata/ApacheGuacamole':'/config':'rw' --log-opt max-size=50m --log-opt max-file=1 'jasonbean/guacamole' 
/usr/bin/docker: Error response from daemon: conflicting options: port publishing and the container type network mode.
See '/usr/bin/docker run --help'.

The command failed.

Is what I get when trying to use the docker network. 

root@localhost:# /usr/local/emhttp/plugins/dynamix.docker.manager/scripts/docker run -d --name='apacheguacamole' --net='container:letsencrypt' --privileged=true -e TZ="America/Los_Angeles" -e HOST_OS="Unraid" -e 'OPT_MYSQL'='Y' -e 'OPT_MYSQL_EXTENSION'='N' -e 'OPT_SQLSERVER'='N' -e 'OPT_LDAP'='N' -e 'OPT_DUO'='N' -e 'OPT_CAS'='N' -e 'OPT_TOTP'='N' -e 'OPT_QUICKCONNECT'='N' -v '/mnt/user/appdata/ApacheGuacamole':'/config':'rw' --log-opt max-size=50m --log-opt max-file=1 'jasonbean/guacamole' 
6d183fe75c50fbd4f6b3186fbdeecb9e964ebc76958e25a2ea2f0356d8b832f5

The command finished successfully!

Is what I get when I remote the ports form the template. 

 

Is this intended? How else am I supposed to access the docker without the ports being mapped? 

  • Author
28 minutes ago, bonienl said:

Maybe this can help

I did try the network creation via cli due to Unraid 6.8 but that is when the port issue occurred. It may be because of the network my letsencrypt is set to? In that guide what network setting do you have the network set to on the VPN container? 

 

I still cannot create a docker with Custom: container:letsencrypt as the network and containing ports with the letsencrypt docker set to Host or Bridge as its network.  

4 minutes ago, Chandler said:

In that guide what network setting do you have the network set to on the VPN container? 

I am not using any user defined networks and can't really comment on the workaround given in the link.

My understanding is that some users have this working. Maybe somebody else may jump in and help.

  • Author
13 minutes ago, bonienl said:

I am not using any user defined networks and can't really comment on the workaround given in the link.

My understanding is that some users have this working. Maybe somebody else may jump in and help.

Got it. I am sure someone else has it working as well.. Thanks for the input. 

 

I just tried deleting and recreating the network I had tried it on a new container but still get the port mapping issue. Anyone else have any ideas? 

  • Author

I notice in the link above it calls the --link parameter in the nginx docker to link the deluge to the vpn and pass port 8112. I tried running a link between my letsencrypt and apacheguacamole dockers but I get a failed message saying linking is only for dockers on a custom user network.. My guacamole docker is on a custom user defined network.. 

Edited by Chandler

  • Author

Ok I think I have it working now. Removing the ports still left the port mappings and I changed my apacheguacamole letsencrypt config to point to the bridge IP address of letsencrypt and it seems to be working. 

image.thumb.png.1b6ffd733a3e01e81ca69f519cdd46d3.png

I have a new question though.. apacheguacamole uses port 8080. I have another docker that also uses port 8080 by default. How do I change the default mapping to allow both of them to work? 

 

As an example:

image.thumb.png.6e27971ff063597a23012ab0ba42d613.png

 

Organizr uses the same internal ports as letsencrypt. So when I try to point towards organizr it goes to letsencrypt. I don't have any ports set up in the container so how can I change the default ones shown above? 

image.thumb.png.7d91cd9fbf449b254c13da6ba053ee43.png

Edited by Chandler

Archived

This topic is now archived and is closed to further replies.

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.