I’ve set up a custom Docker space for a Discord bot. Currently, the bot doesn’t have AI capabilities and is only sending simple messages to users in the Discord server, which works as expected.
Issue
However, the Docker space remains in a “starting” state, despite the bot functioning correctly. I suspect I’m missing a setting (required by Spaces) that allows the Docker space to transition to a “running” state.
Problem
This issue is problematic because the Docker container shuts down after the startup_duration_timeout expires.
Question
Does anyone know what specific setting or response the Docker container needs to send to space to change its status to “running”?
To cut a long story short, it’s a bug or malfunction in HF Spaces. At the moment, there have been reports from at least 6 people, including you and me…
If you create a new space, it may take a while to work…
YES. However, this is more likely to occur with Docker or private repositories. The sample size is small, so it may not be statistically significant, and it’s possible that it’s just in my head…