[SOLVED] How to add Docker run parameters for a container?


xorinzor

Recommended Posts

I'm having the issue that despite my unraid network settings being configured to IPv4 only, every docker container with openvpn still tries to use IPv6, even when I configure "proto udp4" in the config.

 

So now I want to add 

--sysctl net.ipv6.conf.all.disable_ipv6=0

to my "docker run" command to force it to disable IPv6.

 

I just can't figure out where I can configure this, as there's seemingly no option for it. And if I try to insert it in a hackish way it just escapes my comma's, so that won't work either..

Edited by xorinzor
Link to comment

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...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.