http://www.perlmonks.org?node_id=1175348

neilwatson has asked for the wisdom of the Perl Monks concerning the following question:

Greetings,

I have an IRC bot using Bot::BasicBot and it does some forking to lookup requested data. It runs without problems, until I put it in a docker container. When in docker some forks seem not to happen. Has anyone experience this?

Neil Watson
watson-wilson.ca

  • Comment on Forking not working when perl runs in Docker

Replies are listed 'Best First'.
Re: Forking not working when perl runs in Docker
by GrandFather (Saint) on Nov 05, 2016 at 19:55 UTC

    I will look at a small self contained example script that demonstrates the problem, but I'm not going to go off site to chase down some code that I probably can't easily run to help solve an issue that is of minor interest to me.

    It's unlikely to be a Perl issue so much as something missing from the Docker image. Check your logs and make sure you use strictures (use strict; use warnings; - see The strictures, according to Seuss).

    Premature optimization is the root of all job security
Re: Forking not working when perl runs in Docker
by talexb (Chancellor) on Nov 07, 2016 at 17:03 UTC