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 Not Passing Variables to Container

Featured Replies

(posting here because even though my issue is with a few specific containers, it seems to be a deeper underlying issues)

 

Here is an interesting one for you...

 

I have been using binhex-sabnzbd for a few days now and noticed it stopped working. After some sleuthing, it could not do DNS lookups even though other dockers could and /etc/resolv.conf was set perfectly (could ping 8.8.8.8 no problem but did not ping www.google.com).

 

When I change a variable (i.e. the VPN_REMOTE) it does not edit the file in the container. After looking around some other dockers, I saw that binhex-rtorrentvpn would not pass changes either...

 

If I delete the openvpn.ovpn file; the docker would not recreate it (using PIA)

 

I have already tried a new docker.img file, as well as destroying and recreating the container. Permissions are 0777 nobody:users. The regular binhex-sabnzbd works fine.

 

I am guessing its a R/W issue, but as of now I am stumped...

Strange, not quite sure what that may be. Sounds like it works with the regular (without VPN) version of the docker. If so I'd suggest trying this alternative approach that's worked very well for me over the years.

 

Instead of VPN at the Docker level, just use regular dockers and let them do what they do. Use a UnRaid plug-in, such as peter_sm's  OpenVPN Client and this tunnel everything through the VPN as default. To white-list a Docker or VM that you don't want to go through the VPN tunnel, they'll need an IP assigned to them on br0. Assign them an IP address on the br0, and add a static route from that IP to your Gateway in the network settings. I don't recommend doing that with a Docker for security reasons.

 

 

 

 

The OpenVPN client isn't designed to be used with something like PIA.  It's more to connect to an OpenVPN server.

 

I think there are security ramifications to using it to connect to a VPN service like PIA.

  • Author

I figured it out.

 

Short version: Format change.

 

My containers were not passing variables because, there was nothing to receive them. There was a format change in the docker. Why I couldn't tell you, but I am sure the answer lies in the specific docker threads :-)

 

Everything back to normal

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.