Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Issue with sysbox: "output pipes were not closed after 10s" #16487

Answered by mafredri
jplu asked this question in Coder
Discussion options

You must be logged in to vote

Sure, this happens because the dockerd command it keeping references to stdout:

sudo dockerd 2>&1 &

This only redirects stderr to stdout, to prevent the error we should redirect stdout too (note order is important here):

sudo dockerd >/tmp/dockerd.log 2>&1 &

We used to have better docs on writing startup scripts but I think those disappeared in a refactor as I can't find any reference to them in our current docs.

Replies: 9 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by matifali
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants
Converted from issue

This discussion was converted from issue #16473 on February 07, 2025 11:13.