Docker Community Forums

Share and learn in the Docker community.

Perl and forking not working

docker
build

(Neilhwatson) #1

Greetings,

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: https://github.com/neilhwatson/cfbot/tree/docker

Its dockerfile: https://github.com/neilhwatson/cfbot/blob/docker/Dockerfile