Docker Community Forums

Share and learn in the Docker community.

Perl and forking not working


(Neilhwatson) #1


I have dockerfile that runs a perl powered IRC bot that forks processes to lookup data for channel members. I’ve been using this app for a long time outside of docker with no problems. For some reason when I try to deploy it in a container the forks don’t happen. But that with the entrypoint of ‘perl myapp --options’; If deploy the container interactively with /bin/bash then run the app manually, it works. What have I done wrong?

my app:

Its dockerfile: