vieux / docker-volume-sshfs

sshfs docker volume plugin
MIT License
592 stars 104 forks source link

Docker leaving zombie processes everytime i mount a vieux/sshfs volume to create a container. #78

Open ZXY0806 opened 4 years ago

ZXY0806 commented 4 years ago

I have few volumes created with the vieux/sshfs driver, and i create some containers which mount one of these volumes.

The containers spawned by the services execute a single script, after which the container finishes/exits. The comman may like this: "docker run --rm -v {ssh_volume_name}:/home/data --entrypoint='pwd' {image_name}"

All works smooth, except that there is exceptionally 4 zombie processes accumulated in the host machine everytime exec "docker run". I use "ps -ef" , i find this:

73620 I dont't know why and how can i do to avoid this. Please help!

ivandeex commented 4 years ago

A similar problem was reported in https://github.com/trajano/docker-volume-plugins/issues/29 and fixed in https://github.com/trajano/docker-volume-plugins/pull/30#issuecomment-700856794

MarcinWieczorek commented 3 years ago

I confirm that zombies appear.