garethflowers / docker-ftp-server

A simple FTP server, using `vsftpd`.
https://garethflowers.dev/docker-ftp-server/
MIT License
192 stars 52 forks source link

It takes very long to stop the container #36

Open derMart opened 1 year ago

derMart commented 1 year ago

As title says, for me it takes around 10 seconds to stop the container. This is quite unpractical for development. I am used to stopping times of max 1s.

garethflowers commented 10 months ago

Confirmed - does take a while to stop.

jsok commented 8 months ago

It seems the regression was introduced in https://github.com/garethflowers/docker-ftp-server/pull/63 ? i.e. it should have been exec /usr/sbin/vsftpd so that the daemon replaces the shell script process and also receives any signals.