Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris

Forking not working when perl runs in Docker

by neilwatson (Priest)
on Nov 05, 2016 at 13:29 UTC ( #1175348=perlquestion: print w/replies, xml ) Need Help??

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


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

  • 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 (Canon) on Nov 07, 2016 at 17:03 UTC

Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://1175348]
Approved by Discipulus
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (5)
As of 2021-09-17 08:22 GMT
Find Nodes?
    Voting Booth?

    No recent polls found