Jump to content

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

Link to comment

Archived

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

×
×
  • Create New...