update docker run script

This commit is contained in:
idk
2022-09-26 12:26:17 -04:00
parent 053271efc3
commit 997f3c7904

View File

@ -32,10 +32,10 @@
##sudo adduser --disabled-password --disabled-login --ingroup docker docker
## however the specifics may vary from distribution to distribution.
dir=$(CDPATH= cd -- "$(dirname -- "$0")" && pwd)
if [ -f config.sh ]; then
. config.sh
if [ -f "${dir}/config.sh" ]; then
. "${dir}/config.sh"
fi
if [ -z $port ]; then