Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Container set as network 'None' in Unraid Template error #65

Closed
kevhardy opened this issue May 27, 2023 · 1 comment
Closed

Container set as network 'None' in Unraid Template error #65

kevhardy opened this issue May 27, 2023 · 1 comment

Comments

@kevhardy
Copy link

Not sure if this is intended behavior but I'll report anyway incase it isn't. It appears that the docker run command adds --net="none" when you have the Network set as None even if there is a manually set --net command in the extra parameters field. This causes docker to throw an error. Here is a example using gluetunvpn (I removed some parameter info from logs):

/usr/bin/docker run -d --name="app_name" --net="none" (*removed other parameters*) --network=container:gluetunvpn lscr.io/linuxserver/bazarr
/usr/bin/docker: Error response from daemon: Container cannot be connected to network endpoints: container:gluetunvpn, none.

Currently my workaround is either to create a manual docker network or set the network to bridge. This run does appear it would work as long as --net="none" is omitted when a --net command exists in the extra parameters

Unraid Version 6.11.5

olayonjavier added a commit to olayonjavier/rebuild-dndc that referenced this issue Jun 6, 2023
@elmerfds
Copy link
Owner

elmerfds commented Oct 2, 2023

@kevhardy pull the latest image, @olayonjavier 's fix should sort this out now

@elmerfds elmerfds closed this as completed Oct 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants