Env: CentOS Linux release 7.6.1810 (Core) / Docker version 18.09.6, build 481bc77156
During use this image, I have encountered two problems.
1. vsftpd login is quite slow
After exposed external network access through router mapping, vsftpd login is quite slow, almost takes 10 seconds every time. I guess it should be a DNS related issue. Googled for a while, found this post vsftpd log in is slow,solved this problem. Don't understand what's deep inside.
2. Duplicate echo operation in run-vsftpd.sh seems unnecessary while restart contanier.
Env: CentOS Linux release 7.6.1810 (Core) / Docker version 18.09.6, build 481bc77156
During use this image, I have encountered two problems.
1. vsftpd login is quite slow
After exposed external network access through router mapping, vsftpd login is quite slow, almost takes 10 seconds every time. I guess it should be a DNS related issue. Googled for a while, found this post vsftpd log in is slow,solved this problem. Don't understand what's deep inside.
2. Duplicate echo operation in
run-vsftpd.sh
seems unnecessary while restart contanier.These lines are:
And because of these
echo
s, manual modification of these options invsftpd.conf
will be overrided while restart.This pull request.
I forked and made a pull request, hope it's useful.
CHANGES:
REVERSE_LOOKUP_ENABLE
;echo
operations;iproute
package in order to use/sbin/ip route
?