We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ae48074 commit b5de6d2Copy full SHA for b5de6d2
openwrt.conf.example
@@ -12,6 +12,8 @@ IMAGE=oofnik/openwrt
12
TAG=latest
13
# container name
14
CONTAINER=openwrt_1
15
+# optional additional Docker create args, e.g. for PPPoE "--device /dev/ppp"
16
+ADDITIONAL_DOCKER_CREATE_ARGS=""
17
18
## Docker network settings
19
# name of the WAN Docker network
run.sh
@@ -122,7 +122,7 @@ _create_or_start_container() {
122
--sysctl net.netfilter.nf_conntrack_acct=1 \
123
--sysctl net.ipv6.conf.all.disable_ipv6=0 \
124
--sysctl net.ipv6.conf.all.forwarding=1 \
125
- --name $CONTAINER $IMAGE:$TAG >/dev/null
+ ${ADDITIONAL_DOCKER_CREATE_ARGS} --name $CONTAINER $IMAGE:$TAG >/dev/null
126
docker network connect $WAN_NAME $CONTAINER
127
128
_gen_config
0 commit comments