Add ability to set the MTU size of the docker in docker container (#385)

* adding abilitiy to set docker in docker MTU size

* safeguards to only set MTU env var if it is set
This commit is contained in:
Brandon Kimbrough
2021-03-11 18:44:49 -05:00
committed by GitHub
parent 3d62e73f8c
commit 2273b198a1
10 changed files with 47 additions and 0 deletions

View File

@@ -33,5 +33,9 @@ for process in "${processes[@]}"; do
fi
done
if [ -n "${MTU}" ]; then
ifconfig docker0 mtu ${MTU} up
fi
# Wait processes to be running
entrypoint.sh