Closed Silcet closed 5 years ago
I have made a fix for this on this pull request ;)
The solution on the pull request doesn't work. I'll look into more options.
The memory leak is produced only when 2 or more containers are spawned in the same network. This crashes the main loop and wakes it spawn again with a new docker events command. If issue #2 is fixed this one will be as well. Therefore I close this.
The command "docker events" continues listening for new events every time it is called, spawning a persistent new process in every loop of the main while in docker-tc.sh. After using the container for a while it ends up eating all the RAM of the host computer.