Skip to content

docker busy sleep convert to waitpid #2553

@0mWh

Description

@0mWh

log "Sleeping infinitely"
while true
do
sleep 1
done

can we do something like this?

log "Waiting for ZeroTier Process"
wait $!

every time a new process spawns in docker on my system, it writes a file to /tmp/runc-....
using wait (or waitpid) works without a busy sleep

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions